emacs-devel
[Top][All Lists]
Advanced

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

Re: turn off safe-local-variable-values checking


From: Stefan Monnier
Subject: Re: turn off safe-local-variable-values checking
Date: Wed, 05 Apr 2006 09:01:00 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> ;; For variables defined by minor modes, put the safety declarations
> ;; here, not in the file defining the minor mode (when Emacs visits a
> ;; file specifying that local variable, the minor mode file may not be
> ;; loaded yet).  For variables defined by major modes, the safety
> ;; declarations can go into the major mode's file, since that will be
> ;; loaded before file variables are processed.

Interesting.  I'd have to disagree: put it/them in the minor mode's file,
but with an ;;;###autoload cookie.

I think it's important to put those safe-local-variable properties at the
same spot as where the variable is declared.


        Stefan




reply via email to

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