unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* make defcustom automatically mark some variables as safe
@ 2007-10-25  4:09 Glenn Morris
  2007-10-26  1:18 ` Stefan Monnier
  2007-10-26  3:49 ` Richard Stallman
  0 siblings, 2 replies; 4+ messages in thread
From: Glenn Morris @ 2007-10-25  4:09 UTC (permalink / raw)
  To: emacs-devel


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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-10-26  3:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-25  4:09 make defcustom automatically mark some variables as safe Glenn Morris
2007-10-26  1:18 ` Stefan Monnier
2007-10-26  2:50   ` Glenn Morris
2007-10-26  3:49 ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).