mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-24 19:32:52 +00:00
org-latex.el (org-export-as-latex): Check TeX-master correctly.
* org-latex.el (org-export-as-latex): Check TeX-master correctly. TINYCHANGE
This commit is contained in:
parent
d1fd77819e
commit
3007ddd1cc
|
@ -870,6 +870,7 @@ when PUB-DIR is set, use this as the publishing directory."
|
||||||
(concat filename ".tex")
|
(concat filename ".tex")
|
||||||
filename)))
|
filename)))
|
||||||
(auto-insert nil); Avoid any auto-insert stuff for the new file
|
(auto-insert nil); Avoid any auto-insert stuff for the new file
|
||||||
|
(TeX-master (boundp 'TeX-master))
|
||||||
(buffer (if to-buffer
|
(buffer (if to-buffer
|
||||||
(cond
|
(cond
|
||||||
((eq to-buffer 'string) (get-buffer-create
|
((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)
|
:exclude-tags (plist-get opt-plist :exclude-tags)
|
||||||
:LaTeX-fragments nil)))
|
:LaTeX-fragments nil)))
|
||||||
|
|
||||||
;; Avoid the Query for TeX master from AUCTeX
|
|
||||||
(if (boundp 'TeX-master) (setq TeX-master t))
|
|
||||||
|
|
||||||
(set-buffer buffer)
|
(set-buffer buffer)
|
||||||
(erase-buffer)
|
(erase-buffer)
|
||||||
(org-install-letbind)
|
(org-install-letbind)
|
||||||
|
|
Loading…
Reference in a new issue