auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] subfiles.el: implement patch provided by Arash Esbati


From: Arash Esbati
Subject: Re: [AUCTeX-devel] subfiles.el: implement patch provided by Arash Esbati
Date: Tue, 29 Nov 2016 08:49:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1

Hi Mosè,

Mosè Giordano <address@hidden> writes:

>> +   ;; Tell RefTeX the same thing.
>> +   (when (and (boundp 'reftex-include-file-commands)
>> +          (not (member "subfile" reftex-include-file-commands)))
>> +     (add-to-list 'reftex-include-file-commands "subfile" t)
>
> Why do you check if "subfile" is member of
> `reftex-include-file-commands' before calling `add-to-list'?  This
> same test is done inside `add-to-list'.

That was meant to be the guard for `reftex-compile-variables'.  I didn't
want to run the function each time the style is loaded.

Best, Arash



reply via email to

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