diff options
| author | Lars Magne Ingebrigtsen | 2011-07-02 17:32:03 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2011-07-02 17:32:03 +0200 |
| commit | 28ee97c77e96407db0bf39f7fb479f0100d3a2c3 (patch) | |
| tree | aeb0bab9d38f04d7d136ebc842c1214b0ea372a4 | |
| parent | bc92abd2821900e25d972503f1a7d95d259d3bfa (diff) | |
| download | emacs-28ee97c77e96407db0bf39f7fb479f0100d3a2c3.tar.gz emacs-28ee97c77e96407db0bf39f7fb479f0100d3a2c3.zip | |
* variables.texi (Defining Variables): Add an index entry for
`set-variable' (bug#7262).
| -rw-r--r-- | doc/lispref/ChangeLog | 3 | ||||
| -rw-r--r-- | doc/lispref/variables.texi | 2 |
2 files changed, 5 insertions, 0 deletions
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 @@ | |||
| 1 | 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org> | 1 | 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 2 | ||
| 3 | * variables.texi (Defining Variables): Add an index entry for | ||
| 4 | `set-variable' (bug#7262). | ||
| 5 | |||
| 3 | * frames.texi (Basic Parameters): Document the `explicit-name' | 6 | * frames.texi (Basic Parameters): Document the `explicit-name' |
| 4 | parameter (bug#6951). | 7 | parameter (bug#6951). |
| 5 | 8 | ||
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 | |||
| 466 | stored in the symbol's @code{variable-documentation} property. The | 466 | stored in the symbol's @code{variable-documentation} property. The |
| 467 | Emacs help functions (@pxref{Documentation}) look for this property. | 467 | Emacs help functions (@pxref{Documentation}) look for this property. |
| 468 | 468 | ||
| 469 | |||
| 469 | If the documentation string begins with the character @samp{*}, Emacs | 470 | If the documentation string begins with the character @samp{*}, Emacs |
| 470 | allows users to set it interactively using the @code{set-variable} | 471 | allows users to set it interactively using the @code{set-variable} |
| 471 | command. However, you should nearly always use @code{defcustom} | 472 | 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. | |||
| 584 | @end defun | 585 | @end defun |
| 585 | 586 | ||
| 586 | @kindex variable-interactive | 587 | @kindex variable-interactive |
| 588 | @kindex set-variable | ||
| 587 | If a user option variable has a @code{variable-interactive} property, | 589 | If a user option variable has a @code{variable-interactive} property, |
| 588 | the @code{set-variable} command uses that value to control reading the | 590 | the @code{set-variable} command uses that value to control reading the |
| 589 | new value for the variable. The property's value is used as if it were | 591 | new value for the variable. The property's value is used as if it were |