emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] AUCTeX conflicting with org-mode


From: Yagnesh Raghava Yakkala
Subject: Re: [O] AUCTeX conflicting with org-mode
Date: Wed, 21 Mar 2012 15:01:36 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Hi Bastien and Suvayu,

suvayu ali <address@hidden> writes:
>
[snipped 35 lines]
>
> 1. Leave the bug unsolved, hoping there will be a cleaner solution
>    later. After all, there is a very simple workaround on the user side,
>    do (load "tex.el") before using org-latex.

how about this patch (to hotfix branch). 

diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index 2e11ca4..438e5a4 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -871,6 +871,7 @@ when PUB-DIR is set, use this as the publishing directory."
                 filename)))
         (auto-insert nil); Avoid any auto-insert stuff for the new file
         (TeX-master (boundp 'TeX-master))
+        (dummy (unless TeX-master (makunbound 'TeX-master))) ; make sure we 
are not introducing TeX-master
         (buffer (if to-buffer
                     (cond
                      ((eq to-buffer 'string) (get-buffer-create
-- 
YYR

reply via email to

[Prev in Thread] Current Thread [Next in Thread]