Christopher Schmidt <christop...@ch.ristopher.com> wrote: > Nick Dokos <nicholas.do...@hp.com> writes: > > Hi Nick, > > were you able to reproduce my problem? >
No - I didn't try to duplicate what ELPA does (or install through it): I just don't have the time for that. > > Christopher Schmidt <christop...@ch.ristopher.com> wrote: > > > >> Nick Dokos <nicholas.do...@hp.com> writes: > >> > In any case, if you can get rid of the let-bind (or the need to > >> > muck with TeX-master at all within org), without introducing a > >> > regression, we are all ears. > >> > >> I think adding (require 'tex nil t) before the let form is a nice fix. > >> > > > > Not really: you end up pulling in auctex even if you are not going to > > use it. > > What do you think about > > (when to-buffer > (let ((sym 'latex-mode)) > (while (symbolp sym) > (setq sym (symbol-function sym))) > (when (eq (car-safe sym) 'autoload) > (load (cadr sym) sym t t)))) > Haven't even tried to decypher this yet, but I assume it makes your problem go away? I can try it with my setup and see if it causes any problems. Nick