From: Glenn Morris Date: Thu, 25 Oct 2007 04:03:40 +0000 (+0000) Subject: (Variable Definitions): Add :risky and :safe keywords. X-Git-Tag: emacs-pretest-23.0.90~10084 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=db21122cd6f8025fcd661827054943089a670695;p=emacs.git (Variable Definitions): Add :risky and :safe keywords. --- diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 164f8e27023..f313e83b14a 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,7 @@ +2007-10-25 Glenn Morris + + * customize.texi (Variable Definitions): Add :risky and :safe keywords. + 2007-10-22 Juri Linkov * minibuf.texi (Text from Minibuffer, Minibuffer Completion) diff --git a/doc/lispref/customize.texi b/doc/lispref/customize.texi index c375706e6f9..7c723a29f28 100644 --- a/doc/lispref/customize.texi +++ b/doc/lispref/customize.texi @@ -393,6 +393,14 @@ value and then reevaluates the defcustom. By that time, the necessary variables and functions will be defined, so there will not be an error. @end table +@item :risky @var{value} +@kindex risky@r{, @code{defcustom} keyword} +Set this variable's @code{risky-local-variable} property to @var{value}. + +@item :safe @var{function} +@kindex safe@r{, @code{defcustom} keyword} +Set this variable's @code{safe-local-variable} property to @var{function}. + @item :set-after @var{variables} @kindex set-after@r{, @code{defcustom} keyword} When setting variables according to saved customizations, make sure to