On Fr, Jan 22 2010, Jan Böcker wrote: > On 22.01.2010 17:17, henry atting wrote: >> >> An org file (it contains an explanation on using emacs distraction free >> for writing) lists on some places LaTeX Local Variables, eg: >> >> %%% Local Variables: >> %%% mode: latex >> %%% TeX-master: t >> %%% End: >> >> From then on Emacs does not open this file in org-mode but in >> latex-mode. >> Neiter setting Local Variables at the end to org (mode) does not change this >> behaviour nor if set at the beginning of the file. > > How about changing the "Local Variables:" line such that it looks > slightly different to emacs, but means the same to LaTeX? > > Would changing that line to > %%% Local\ Variables: > solve your problem?
Yes, that's fine for me; thanks! henry -- http://literaturlatenight.de _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode