aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2007-07-10 01:07:09 +0000
committerRichard M. Stallman2007-07-10 01:07:09 +0000
commitc40e86ef0a28ef43d849f39c1bb0d76bc43932bb (patch)
treecdf5a533321bae43409de66e1545b6f2c26a04b8
parent2b6b226cf6346681c4d0cbe9b2876e1c6cbb942e (diff)
downloademacs-c40e86ef0a28ef43d849f39c1bb0d76bc43932bb.tar.gz
emacs-c40e86ef0a28ef43d849f39c1bb0d76bc43932bb.zip
(eval-defun): Explain special handling of `defface'.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/lisp-mode.el4
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 87e471753e5..dcdb04cc5fa 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12007-07-10 Richard Stallman <rms@gnu.org>
2
3 * emacs-lisp/lisp-mode.el (eval-defun):
4 Explain special handling of `defface'.
5
12007-07-09 Richard Stallman <rms@gnu.org> 62007-07-09 Richard Stallman <rms@gnu.org>
2 7
3 * isearch.el (isearch-edit-string): Call to isearch-push-state 8 * isearch.el (isearch-edit-string): Call to isearch-push-state
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',
730evaluating it this way resets the variable using its initial value 730evaluating it this way resets the variable using its initial value
731expression even if the variable already has some other value. 731expression even if the variable already has some other value.
732\(Normally `defvar' and `defcustom' do not alter the value if there 732\(Normally `defvar' and `defcustom' do not alter the value if there
733already is one.) 733already is one.) In an analogous way, evaluating a `defface'
734overrides any customizations of the face, so that it becomes
735defined exactly as the `defface' expression says.
734 736
735If `eval-expression-debug-on-error' is non-nil, which is the default, 737If `eval-expression-debug-on-error' is non-nil, which is the default,
736this command arranges for all errors to enter the debugger. 738this command arranges for all errors to enter the debugger.