aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/customize.texi6
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 @@
12012-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
12012-12-06 Paul Eggert <eggert@cs.ucla.edu> 62012-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.
308When you evaluate a @code{defcustom} form with @kbd{C-M-x} in Emacs Lisp 308When you evaluate a @code{defcustom} form with @kbd{C-M-x} in Emacs Lisp
309mode (@code{eval-defun}), a special feature of @code{eval-defun} 309mode (@code{eval-defun}), a special feature of @code{eval-defun}
310arranges to set the variable unconditionally, without testing whether 310arranges to set the variable unconditionally, without testing whether
311its value is void. (The same feature applies to @code{defvar}.) 311its 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
313that is already defined calls the @code{:set} function (see below),
314if there is one.
313 315
314If you put a @code{defcustom} in a pre-loaded Emacs Lisp file 316If 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