Преглед на файлове

ox: Remove code evaluation queries from asynchronous export

* lisp/ox.el (org-export-async-start): Remove code evaluation queries
  from asynchronous export.
Nicolas Goaziou преди 12 години
родител
ревизия
69c617c998
променени са 1 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 4 2
      lisp/ox.el

+ 4 - 2
lisp/ox.el

@@ -5140,9 +5140,11 @@ and
 	     "%S"
 	     `(with-temp-buffer
 		,(when org-export-async-debug '(setq debug-on-error t))
-		;; Ignore `kill-emacs-hook' as we need a truly
+		;; Ignore `kill-emacs-hook' and code evaluation
+		;; queries from Babel as we need a truly
 		;; non-interactive process.
-		(setq kill-emacs-hook nil)
+		(setq kill-emacs-hook nil
+		      org-babel-confirm-evaluate-answer-no t)
 		;; Initialize export framework in external process.
 		(require 'ox)
 		;; Re-create current buffer there.