diff options
author | Richard M. Stallman <rms@gnu.org> | 2007-07-10 01:07:09 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2007-07-10 01:07:09 +0000 |
commit | c40e86ef0a28ef43d849f39c1bb0d76bc43932bb (patch) | |
tree | cdf5a533321bae43409de66e1545b6f2c26a04b8 /lisp/emacs-lisp/lisp-mode.el | |
parent | 2b6b226cf6346681c4d0cbe9b2876e1c6cbb942e (diff) | |
download | emacs-c40e86ef0a28ef43d849f39c1bb0d76bc43932bb.tar.gz emacs-c40e86ef0a28ef43d849f39c1bb0d76bc43932bb.tar.bz2 emacs-c40e86ef0a28ef43d849f39c1bb0d76bc43932bb.zip |
(eval-defun): Explain special handling of `defface'.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
-rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 73379a816d7..374d3ae2327 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -730,7 +730,9 @@ If the current defun is actually a call to `defvar' or `defcustom', evaluating it this way resets the variable using its initial value expression even if the variable already has some other value. \(Normally `defvar' and `defcustom' do not alter the value if there -already is one.) +already is one.) In an analogous way, evaluating a `defface' +overrides any customizations of the face, so that it becomes +defined exactly as the `defface' expression says. If `eval-expression-debug-on-error' is non-nil, which is the default, this command arranges for all errors to enter the debugger. |