comparison lisp/emacs-lisp/lisp-mode.el @ 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 36ddacf0d44b
children b22beb3e496f a66921565bcb
comparison
equal deleted inserted replaced
78095:921bc039bcac 78096:8e308ce2d884
728 728
729 If the current defun is actually a call to `defvar' or `defcustom', 729 If the current defun is actually a call to `defvar' or `defcustom',
730 evaluating it this way resets the variable using its initial value 730 evaluating it this way resets the variable using its initial value
731 expression even if the variable already has some other value. 731 expression 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
733 already is one.) 733 already is one.) In an analogous way, evaluating a `defface'
734 overrides any customizations of the face, so that it becomes
735 defined exactly as the `defface' expression says.
734 736
735 If `eval-expression-debug-on-error' is non-nil, which is the default, 737 If `eval-expression-debug-on-error' is non-nil, which is the default,
736 this command arranges for all errors to enter the debugger. 738 this command arranges for all errors to enter the debugger.
737 739
738 With a prefix argument, instrument the code for Edebug. 740 With a prefix argument, instrument the code for Edebug.