(eval-defun): Explain special handling of `defface'.
This commit is contained in:
parent
2b6b226cf6
commit
c40e86ef0a
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-07-10 Richard Stallman <rms@gnu.org>
|
||||||
|
|
||||||
|
* emacs-lisp/lisp-mode.el (eval-defun):
|
||||||
|
Explain special handling of `defface'.
|
||||||
|
|
||||||
2007-07-09 Richard Stallman <rms@gnu.org>
|
2007-07-09 Richard Stallman <rms@gnu.org>
|
||||||
|
|
||||||
* isearch.el (isearch-edit-string): Call to isearch-push-state
|
* isearch.el (isearch-edit-string): Call to isearch-push-state
|
||||||
|
|
|
@ -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
|
evaluating it this way resets the variable using its initial value
|
||||||
expression even if the variable already has some other value.
|
expression even if the variable already has some other value.
|
||||||
\(Normally `defvar' and `defcustom' do not alter the value if there
|
\(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,
|
If `eval-expression-debug-on-error' is non-nil, which is the default,
|
||||||
this command arranges for all errors to enter the debugger.
|
this command arranges for all errors to enter the debugger.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue