emacs-devel
[Top][All Lists]
Advanced

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

Re: make defcustom automatically mark some variables as safe


From: Richard Stallman
Subject: Re: make defcustom automatically mark some variables as safe
Date: Thu, 25 Oct 2007 23:49:09 -0400

    What do people think of the idea of changing defcustom to give
    some variable types a safe-local-variable property by default?

    I mean that, eg, defcustom'ing a variable of :type integer would do:
    (put 'variable 'safe-local-variable 'integerp)

It is dangerous.  We want people to think about each variable,
so we don't want any feature that would encourage people not to.





reply via email to

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