From: Lars Magne Ingebrigtsen Date: Sat, 2 Jul 2011 15:32:03 +0000 (+0200) Subject: * variables.texi (Defining Variables): Add an index entry for X-Git-Tag: emacs-pretest-24.0.90~104^2~152^2~241 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=28ee97c77e96407db0bf39f7fb479f0100d3a2c3;p=emacs.git * variables.texi (Defining Variables): Add an index entry for `set-variable' (bug#7262). --- diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 7470df8dbe7..2d86cc2c1ec 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,5 +1,8 @@ 2011-07-02 Lars Magne Ingebrigtsen + * variables.texi (Defining Variables): Add an index entry for + `set-variable' (bug#7262). + * frames.texi (Basic Parameters): Document the `explicit-name' parameter (bug#6951). diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index 08712466b5c..a007a4d9cc3 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi @@ -466,6 +466,7 @@ the main benefits of defining the variable.) The documentation is stored in the symbol's @code{variable-documentation} property. The Emacs help functions (@pxref{Documentation}) look for this property. + If the documentation string begins with the character @samp{*}, Emacs allows users to set it interactively using the @code{set-variable} command. However, you should nearly always use @code{defcustom} @@ -584,6 +585,7 @@ is a user option. Aliases of user options are also user options. @end defun @kindex variable-interactive +@kindex set-variable If a user option variable has a @code{variable-interactive} property, the @code{set-variable} command uses that value to control reading the new value for the variable. The property's value is used as if it were