diff options
| author | Richard M. Stallman | 1998-05-19 05:10:27 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-05-19 05:10:27 +0000 |
| commit | e612f4bd81a4f9d62afe31fc77ea5bf5e808aa54 (patch) | |
| tree | fc93d2ff859ad51c51f78d890ce0fb6a6288882c | |
| parent | 9a9c6f9f44db46791da538de0bdfca28377cd388 (diff) | |
| download | emacs-e612f4bd81a4f9d62afe31fc77ea5bf5e808aa54.tar.gz emacs-e612f4bd81a4f9d62afe31fc77ea5bf5e808aa54.zip | |
(defcustom): Doc fix.
| -rw-r--r-- | lisp/custom.el | 18 |
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 | |||
| 169 | 169 | ||
| 170 | [KEYWORD VALUE]... | 170 | [KEYWORD VALUE]... |
| 171 | 171 | ||
| 172 | The following KEYWORD's are defined: | 172 | The following keywords are meaningful: |
| 173 | 173 | ||
| 174 | :type VALUE should be a widget type for editing the symbols value. | 174 | :type VALUE should be a widget type for editing the symbols value. |
| 175 | The default is `sexp'. | 175 | The default is `sexp'. |
| 176 | :options VALUE should be a list of valid members of the widget type. | 176 | :options VALUE should be a list of valid members of the widget type. |
| 177 | :group VALUE should be a customization group. | 177 | :group VALUE should be a customization group. |
| 178 | Add SYMBOL to that group. | 178 | Add SYMBOL to that group. |
| 179 | :initialize VALUE should be a function used to initialize the | 179 | :initialize |
| 180 | VALUE should be a function used to initialize the | ||
| 180 | variable. It takes two arguments, the symbol and value | 181 | variable. It takes two arguments, the symbol and value |
| 181 | given in the `defcustom' call. The default is | 182 | given in the `defcustom' call. The default is |
| 182 | `custom-initialize-default' | 183 | `custom-initialize-default' |
| 183 | :set VALUE should be a function to set the value of the symbol. | 184 | :set VALUE should be a function to set the value of the symbol. |
| 184 | It takes two arguments, the symbol to set and the value to | 185 | It takes two arguments, the symbol to set and the value to |
| 185 | give it. The default is `set-default'. | 186 | give it. The default choice of function is `set-default'. |
| 186 | :get VALUE should be a function to extract the value of symbol. | 187 | :get VALUE should be a function to extract the value of symbol. |
| 187 | The function takes one argument, a symbol, and should return | 188 | The function takes one argument, a symbol, and should return |
| 188 | the current value for that symbol. The default is | 189 | the current value for that symbol. The default choice of function |
| 189 | `default-value'. | 190 | is `default-value'. |
| 190 | :require VALUE should be a feature symbol. Each feature will be | 191 | :require |
| 191 | required after initialization, of the the user have saved this | 192 | VALUE should be a feature symbol. If you save a value |
| 192 | option. | 193 | for this option, then when your `.emacs' file loads the value, |
| 194 | it does (require VALUE) first. | ||
| 193 | 195 | ||
| 194 | Read the section about customization in the Emacs Lisp manual for more | 196 | Read the section about customization in the Emacs Lisp manual for more |
| 195 | information." | 197 | information." |