summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-05-19 05:10:27 +0000
committerRichard M. Stallman <rms@gnu.org>1998-05-19 05:10:27 +0000
commit8ed1b7d7260f1e54ed9cedab6b01001a9627dab6 (patch)
tree99e614859b71826f52da90226482b2b087a3ef84
parent515dd01ae1c74395dcc2960e47fbab9c20d1fc7e (diff)
downloademacs-8ed1b7d7260f1e54ed9cedab6b01001a9627dab6.tar.gz
(defcustom): Doc fix.
-rw-r--r--lisp/custom.el18
1 files changed, 10 insertions, 8 deletions
diff --git a/lisp/custom.el b/lisp/custom.el
index 127d96e1af9..d4538448e88 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -169,27 +169,29 @@ The remaining arguments should have the form
[KEYWORD VALUE]...
-The following KEYWORD's are defined:
+The following keywords are meaningful:
:type VALUE should be a widget type for editing the symbols value.
The default is `sexp'.
:options VALUE should be a list of valid members of the widget type.
:group VALUE should be a customization group.
Add SYMBOL to that group.
-:initialize VALUE should be a function used to initialize the
+:initialize
+ VALUE should be a function used to initialize the
variable. It takes two arguments, the symbol and value
given in the `defcustom' call. The default is
`custom-initialize-default'
:set VALUE should be a function to set the value of the symbol.
It takes two arguments, the symbol to set and the value to
- give it. The default is `set-default'.
+ give it. The default choice of function is `set-default'.
:get VALUE should be a function to extract the value of symbol.
The function takes one argument, a symbol, and should return
- the current value for that symbol. The default is
- `default-value'.
-:require VALUE should be a feature symbol. Each feature will be
- required after initialization, of the the user have saved this
- option.
+ the current value for that symbol. The default choice of function
+ is `default-value'.
+:require
+ VALUE should be a feature symbol. If you save a value
+ for this option, then when your `.emacs' file loads the value,
+ it does (require VALUE) first.
Read the section about customization in the Emacs Lisp manual for more
information."