1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-02 11:21:42 +00:00

(Variable Definitions): Add :risky and :safe keywords.

This commit is contained in:
Glenn Morris 2007-10-25 04:03:40 +00:00
parent b68769f25a
commit db21122cd6
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-10-25 Glenn Morris <rgm@gnu.org>
* customize.texi (Variable Definitions): Add :risky and :safe keywords.
2007-10-22 Juri Linkov <juri@jurta.org>
* minibuf.texi (Text from Minibuffer, Minibuffer Completion)

View File

@ -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