# HG changeset patch # User Richard M. Stallman # Date 1037594967 0 # Node ID cd3ad87f8d7ad9c1bb9d4f68ac79d42be0514ae6 # Parent 68ad51bc733810d9e71a11f0b7da26af2108189b Clarify evaluation of :type arg in defcustom. diff -r 68ad51bc7338 -r cd3ad87f8d7a lispref/customize.texi --- a/lispref/customize.texi Mon Nov 18 04:36:18 2002 +0000 +++ b/lispref/customize.texi Mon Nov 18 04:49:27 2002 +0000 @@ -344,9 +344,10 @@ 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"