Mercurial > emacs
changeset 48404:cd3ad87f8d7a
Clarify evaluation of :type arg in defcustom.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 18 Nov 2002 04:49:27 +0000 |
parents | 68ad51bc7338 |
children | 4cba3e758b98 |
files | lispref/customize.texi |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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"