From: Richard M. Stallman Date: Mon, 18 Nov 2002 04:49:27 +0000 (+0000) Subject: Clarify evaluation of :type arg in defcustom. X-Git-Tag: ttn-vms-21-2-B4~12385 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5a65439ecc5d540ba5a3e8e8677c9cae9a5e30af;p=emacs.git Clarify evaluation of :type arg in defcustom. --- 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 customization buffer for editing. You specify the customization type in @code{defcustom} with the -@code{:type} keyword. The argument of @code{:type} is evaluated; since -types that vary at run time are rarely useful, normally you use a quoted -constant. For example: +@code{:type} keyword. The argument of @code{:type} is evaluated, but +only once when the @code{defcustom} is executed, so it isn't useful +for the value to vary. Normally we use a quoted constant. For +example: @example (defcustom diff-command "diff"