瀏覽代碼

Merge branch 'hotfix-7.8.06'

Bastien Guerry 13 年之前
父節點
當前提交
1d0fa25bda
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      lisp/org-latex.el

+ 1 - 3
lisp/org-latex.el

@@ -897,6 +897,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
@@ -969,9 +970,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)