diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/customize.texi | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index a26bfdc2e4b..7238d958d8a 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-12-09 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * customize.texi (Variable Definitions): Mention eval-defun | ||
| 4 | on a defcustom calls the :set function when appropriate. | ||
| 5 | |||
| 1 | 2012-12-06 Paul Eggert <eggert@cs.ucla.edu> | 6 | 2012-12-06 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 7 | ||
| 3 | * doclicense.texi, gpl.texi: Update to latest version from FSF. | 8 | * doclicense.texi, gpl.texi: Update to latest version from FSF. |
diff --git a/doc/lispref/customize.texi b/doc/lispref/customize.texi index 1fb8bb3e71a..c8d09760b53 100644 --- a/doc/lispref/customize.texi +++ b/doc/lispref/customize.texi | |||
| @@ -308,8 +308,10 @@ Every @code{defcustom} should specify @code{:group} at least once. | |||
| 308 | When you evaluate a @code{defcustom} form with @kbd{C-M-x} in Emacs Lisp | 308 | When you evaluate a @code{defcustom} form with @kbd{C-M-x} in Emacs Lisp |
| 309 | mode (@code{eval-defun}), a special feature of @code{eval-defun} | 309 | mode (@code{eval-defun}), a special feature of @code{eval-defun} |
| 310 | arranges to set the variable unconditionally, without testing whether | 310 | arranges to set the variable unconditionally, without testing whether |
| 311 | its value is void. (The same feature applies to @code{defvar}.) | 311 | its value is void. (The same feature applies to @code{defvar}, |
| 312 | @xref{Defining Variables}. | 312 | @pxref{Defining Variables}.) Using @code{eval-defun} on a defcustom |
| 313 | that is already defined calls the @code{:set} function (see below), | ||
| 314 | if there is one. | ||
| 313 | 315 | ||
| 314 | If you put a @code{defcustom} in a pre-loaded Emacs Lisp file | 316 | If you put a @code{defcustom} in a pre-loaded Emacs Lisp file |
| 315 | (@pxref{Building Emacs}), the standard value installed at dump time | 317 | (@pxref{Building Emacs}), the standard value installed at dump time |