Переглянути джерело

org-latex.el (org-export-as-latex): Check TeX-master correctly.

* org-latex.el (org-export-as-latex): Check TeX-master correctly.

TINYCHANGE
Bastien Guerry 13 роки тому
батько
коміт
3007ddd1cc
1 змінених файлів з 1 додано та 3 видалено
  1. 1 3
      lisp/org-latex.el

+ 1 - 3
lisp/org-latex.el

@@ -870,6 +870,7 @@ when PUB-DIR is set, use this as the publishing directory."
 		   (concat filename ".tex")
 		 filename)))
 	 (auto-insert nil); Avoid any auto-insert stuff for the new file
+	 (TeX-master (boundp 'TeX-master))
 	 (buffer (if to-buffer
 		     (cond
 		      ((eq to-buffer 'string) (get-buffer-create
@@ -942,9 +943,6 @@ when PUB-DIR is set, use this as the publishing directory."
 	   :exclude-tags (plist-get opt-plist :exclude-tags)
 	   :LaTeX-fragments nil)))
 
-    ;; Avoid the Query for TeX master from AUCTeX
-    (if (boundp 'TeX-master) (setq TeX-master t))
-
     (set-buffer buffer)
     (erase-buffer)
     (org-install-letbind)