diff options
| author | Richard M. Stallman | 2002-11-18 04:49:27 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-11-18 04:49:27 +0000 |
| commit | 5a65439ecc5d540ba5a3e8e8677c9cae9a5e30af (patch) | |
| tree | f99f8ce946cfb810f2e99feb9e07b301ed5b9185 | |
| parent | 90620d3dfb087711ce3223972e2a001fc2dc2077 (diff) | |
| download | emacs-5a65439ecc5d540ba5a3e8e8677c9cae9a5e30af.tar.gz emacs-5a65439ecc5d540ba5a3e8e8677c9cae9a5e30af.zip | |
Clarify evaluation of :type arg in defcustom.
| -rw-r--r-- | lispref/customize.texi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lispref/customize.texi b/lispref/customize.texi index 4997fc4479a..3f107b3fb00 100644 --- a/lispref/customize.texi +++ b/lispref/customize.texi | |||
| @@ -344,9 +344,10 @@ which values are legitimate and (2) how to display the value in the | |||
| 344 | customization buffer for editing. | 344 | customization buffer for editing. |
| 345 | 345 | ||
| 346 | You specify the customization type in @code{defcustom} with the | 346 | You specify the customization type in @code{defcustom} with the |
| 347 | @code{:type} keyword. The argument of @code{:type} is evaluated; since | 347 | @code{:type} keyword. The argument of @code{:type} is evaluated, but |
| 348 | types that vary at run time are rarely useful, normally you use a quoted | 348 | only once when the @code{defcustom} is executed, so it isn't useful |
| 349 | constant. For example: | 349 | for the value to vary. Normally we use a quoted constant. For |
| 350 | example: | ||
| 350 | 351 | ||
| 351 | @example | 352 | @example |
| 352 | (defcustom diff-command "diff" | 353 | (defcustom diff-command "diff" |