# HG changeset patch # User Richard M. Stallman # Date 1088108254 0 # Node ID ba5561d2050170297ec91df331cb25b5fcbef77f # Parent b4cff9b59252d5b276785e45917d6bfd8b2ee269 (Variable Definitions): Note about doc strings and :set. diff -r b4cff9b59252 -r ba5561d20501 lispref/customize.texi --- a/lispref/customize.texi Thu Jun 24 20:16:02 2004 +0000 +++ b/lispref/customize.texi Thu Jun 24 20:17:34 2004 +0000 @@ -194,6 +194,11 @@ @var{default} because they are not expanded when editing the value, causing list values to appear to have the wrong structure. +If you specify the @code{:set} option, to make the variable take other +special actions when set through the customization buffer, the +variable's documentation string should tell the user specifically how +to do the same job in hand-written Lisp code. + When you evaluate a @code{defcustom} form with @kbd{C-M-x} in Emacs Lisp mode (@code{eval-defun}), a special feature of @code{eval-defun} arranges to set the variable unconditionally, without testing whether