[Top][All Lists]

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

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

From: Reiner Steib
Subject: Re: turn off safe-local-variable-values checking
Date: Wed, 05 Apr 2006 10:19:46 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

On Tue, Apr 04 2006, Stefan Monnier wrote:

>> +        ;; textmode/reftex-vars.el
>> +        (reftex-fref-is-default  . t)
>> +        (reftex-guess-label-type . t)
>> +        (reftex-level-indent     . integerp)
>> +        (reftex-vref-is-default  . t)
> I think these settings belong in reftex*.el rather than in files.el.

The comment in `files.el' says it should be set there for variables
defined by minor modes and `reftex-mode' is a minor mode:

;; 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.

CMIIW, please.  And maybe clarify the comment if I was missing

Bye, Reiner.
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

reply via email to

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