On Thu, Oct 25, 2012 at 11:19:30PM +0100, Christopher Schmidt wrote: > Suvayu Ali <fatkasuvayu+li...@gmail.com> writes: > > On Thu, Oct 25, 2012 at 05:48:57PM +0100, Christopher Schmidt wrote: > >> org-export-as-latex (org-latex.el) let-binds TeX-master. Later on > >> feature tex may be loaded. This is a problem, because in that case > >> the defvar TeX-master of tex (AUCTeX) is ignored. > >> > >> Warning: defvar ignored because TeX-master is let-bound > >> > >> This issue could be fixed by adding (require 'tex nil t). > >> > > > > What is your org-version? AFAIR, this was the case at the beginning > > of this year (Feb-March '12) but I do not think this is an issue > > anymore. > > No, it is in both maint and master (org-latex.el:958) right now. To be > honest, why is TeX-master exactly bound in the first place? > > (TeX-master (boundp 'TeX-master)) > > For the record, I use Org-mode version 7.9.2 (release_7.9.2-62-gde7766), > that is maint from the 15th. of October. >
I believe the reason was to get rid of auctex prompting for the master file name every time an org file is exported to LaTeX. -- Suvayu Open source is the future. It sets us free.