[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: |
Wed, 30 Nov 2016 20:24:34 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 |
Hi Mosè,
Mosè Giordano <address@hidden> writes:
> 2016-11-29 8:49 GMT+01:00 Arash Esbati <address@hidden>:
>>
>> Mosè Giordano <address@hidden> writes:
>>
>>> 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.
>
> I see, makes sense. I saw that you used the same trick in other style
> file recently, how about writing a function (or a macro, maybe) for
> this purpose?
Are you aware of any other package that defines such a command? I would
like to check them before cooking up a function or so. The only package
I know is "newclude" from frankenstein bundle[1].
Best, Arash
Footnotes:
[1] https://www.ctan.org/tex-archive/macros/latex/contrib/frankenstein