changeset 78096:8e308ce2d884

(eval-defun): Explain special handling of `defface'.
author Richard M. Stallman <rms@gnu.org>
date Tue, 10 Jul 2007 01:07:03 +0000
parents 921bc039bcac
children fe022dbdc0e4
files lisp/emacs-lisp/lisp-mode.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp-mode.el	Tue Jul 10 01:05:49 2007 +0000
+++ b/lisp/emacs-lisp/lisp-mode.el	Tue Jul 10 01:07:03 2007 +0000
@@ -730,7 +730,9 @@
 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.