From 28ee97c77e96407db0bf39f7fb479f0100d3a2c3 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Sat, 2 Jul 2011 17:32:03 +0200 Subject: [PATCH] * variables.texi (Defining Variables): Add an index entry for `set-variable' (bug#7262). --- doc/lispref/ChangeLog | 3 +++ doc/lispref/variables.texi | 2 ++ 2 files changed, 5 insertions(+) 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 -- 2.39.2