diff options
author | Glenn Morris <rgm@gnu.org> | 2012-04-13 18:46:06 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-04-13 18:46:06 -0700 |
commit | 35dc09a19c606f9e7a078df32d030451c7c90ba1 (patch) | |
tree | 8df2ade99ad8620568094d61bba9dd4ac8856c43 /lisp/custom.el | |
parent | 327732d994c98849c765659aa2164a7482b6beab (diff) | |
parent | ad3a2b411dc2b34f5d6fa434aee3ca56fa7a88e7 (diff) | |
download | emacs-35dc09a19c606f9e7a078df32d030451c7c90ba1.tar.gz |
Merge from emacs-24, up to 2012-04-10T02:06:19Z!larsi@gnus.org
Diffstat (limited to 'lisp/custom.el')
-rw-r--r-- | lisp/custom.el | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/lisp/custom.el b/lisp/custom.el index d8909f8be92..611d5688f30 100644 --- a/lisp/custom.el +++ b/lisp/custom.el @@ -936,16 +936,21 @@ Each of the arguments in ARGS should be a list of this form: (SYMBOL EXP [NOW [REQUEST [COMMENT]]]) -This stores EXP (without evaluating it) as the saved value for SYMBOL. -If NOW is present and non-nil, then also evaluate EXP and set -the default value for the SYMBOL to the value of EXP. +SYMBOL is the variable name, and EXP is an expression which +evaluates to the customized value. EXP will also be stored, +without evaluating it, in SYMBOL's `saved-value' property, so +that it can be restored via the Customize interface. It is also +added to the alist in SYMBOL's `theme-value' property \(by +calling `custom-push-theme'). -REQUEST is a list of features we must require in order to -handle SYMBOL properly. -COMMENT is a comment string about SYMBOL. +NOW, if present and non-nil, means to install the variable's +value directly now, even if its `defcustom' declaration has not +been executed. This is for internal use only. + +REQUEST is a list of features to `require' (which are loaded +prior to evaluating EXP). -EXP itself is saved unevaluated as SYMBOL property `saved-value' and -in SYMBOL's list property `theme-value' \(using `custom-push-theme')." +COMMENT is a comment string about SYMBOL." (custom-check-theme theme) ;; Process all the needed autoloads before anything else, so that the |