[Top][All Lists]

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

bug#24868: 26.0.50; LaTeX-verbatim-macros-with-delims-local isn't taken

From: Clément Pit--Claudel
Subject: bug#24868: 26.0.50; LaTeX-verbatim-macros-with-delims-local isn't taken into account
Date: Thu, 3 Nov 2016 15:26:19 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 2016-11-03 15:09, Eli Zaretskii wrote:
>> > (2) there's no hook-like thing that would be run whenever some specific
>> >     variable is modified due to file-local or directory-local variables,
>> >     no?  So I guess the right way to make Clément's use-case work was to
>> >     provide functions for modifying those variables that can be run from
>> >     an eval: local variables block and then refresh the fontification if
>> >     needed, right?
> Probably.  Unless someone will come up with a more clever idea.

Hmm. Wouldn't something like the following work?

(add-hook 'hack-local-variables-hook
          (lambda () 
             (when (…check relevant variable for a change…)
               (…refresh fontification…)))

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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