aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-11-18 04:49:27 +0000
committerRichard M. Stallman2002-11-18 04:49:27 +0000
commit5a65439ecc5d540ba5a3e8e8677c9cae9a5e30af (patch)
treef99f8ce946cfb810f2e99feb9e07b301ed5b9185
parent90620d3dfb087711ce3223972e2a001fc2dc2077 (diff)
downloademacs-5a65439ecc5d540ba5a3e8e8677c9cae9a5e30af.tar.gz
emacs-5a65439ecc5d540ba5a3e8e8677c9cae9a5e30af.zip
Clarify evaluation of :type arg in defcustom.
-rw-r--r--lispref/customize.texi7
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
344customization buffer for editing. 344customization 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
348types that vary at run time are rarely useful, normally you use a quoted 348only once when the @code{defcustom} is executed, so it isn't useful
349constant. For example: 349for the value to vary. Normally we use a quoted constant. For
350example:
350 351
351@example 352@example
352(defcustom diff-command "diff" 353(defcustom diff-command "diff"