From 5a65439ecc5d540ba5a3e8e8677c9cae9a5e30af Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 18 Nov 2002 04:49:27 +0000 Subject: [PATCH] Clarify evaluation of :type arg in defcustom. --- lispref/customize.texi | 7 ++++--- 1 file 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 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" -- 2.39.2