From db21122cd6f8025fcd661827054943089a670695 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 25 Oct 2007 04:03:40 +0000 Subject: [PATCH] (Variable Definitions): Add :risky and :safe keywords. --- doc/lispref/ChangeLog | 4 ++++ doc/lispref/customize.texi | 8 ++++++++ 2 files changed, 12 insertions(+) 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 -- 2.39.2