emacs-devel
[Top][All Lists]
Advanced

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

make defcustom automatically mark some variables as safe


From: Glenn Morris
Subject: make defcustom automatically mark some variables as safe
Date: Thu, 25 Oct 2007 00:09:27 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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)

Similarly for :type boolean (booleanp), string and regexp (stringp),
and others where it makes sense.




reply via email to

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