Nick Dokos <nicholas.do...@hp.com> writes:

Hi Nick,

were you able to reproduce my problem?

> 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))))

?

        Christopher

Reply via email to