bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#59384: 29.0.50; Visiting files in Emacs Git pops up "unsafe variable


From: Eli Zaretskii
Subject: bug#59384: 29.0.50; Visiting files in Emacs Git pops up "unsafe variable" prompt
Date: Sun, 20 Nov 2022 12:12:22 +0200

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Juri Linkov <juri@linkov.net>,  59384@debbugs.gnu.org
> Date: Sat, 19 Nov 2022 17:38:35 -0500
> 
> AFAIK the standard solution is one of:
> 
> - try to arrange for the relevant package to be loaded before
>   hack-local-variables does its thing.  That often works for
>   major-mode dependent variables, where we try and load the
>   major mode early enough.  For the above case I can't see a good way to
>   use this approach.
> 
> - autoload the (put '<VAR> 'safe-local-variable ...)

Thanks, I went with latter.





reply via email to

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