changeset 56235:ba5561d20501

(Variable Definitions): Note about doc strings and :set.
author Richard M. Stallman <rms@gnu.org>
date Thu, 24 Jun 2004 20:17:34 +0000
parents b4cff9b59252
children 69f225b794b1
files lispref/customize.texi
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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