emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] TeX-master: TeX-master is let-bound


From: Christopher Schmidt
Subject: Re: [O] TeX-master: TeX-master is let-bound
Date: Thu, 1 Nov 2012 14:50:56 +0000 (GMT)

Nick Dokos <address@hidden> writes:

Hi Nick,

were you able to reproduce my problem?

> Christopher Schmidt <address@hidden> wrote:
>
>> Nick Dokos <address@hidden> 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

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