0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-15 17:46:27 +00:00

org-latex.el: Fix TeX-master declaration.

* org-latex.el (org-export-as-latex): Fix TeX-master declaration.

TINYCHANGE
This commit is contained in:
Bastien Guerry 2012-03-20 12:01:25 +01:00
parent ca41982ad4
commit 18ba67bf57

View file

@ -870,7 +870,6 @@ 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 t) ; Avoid the Query for TeX master from AUCTeX
(buffer (if to-buffer
(cond
((eq to-buffer 'string) (get-buffer-create
@ -943,6 +942,9 @@ 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)