From: Gerd Moellmann Date: Mon, 29 Oct 2001 09:09:03 +0000 (+0000) Subject: (eval-defun): Doc fix. X-Git-Tag: emacs-21.2~433 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fa039d32fc77525a5f369c5cdbaae20c4075bd9b;p=emacs.git (eval-defun): Doc fix. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 66f9019e94a..fbb9088de02 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2001-10-29 Richard M. Stallman + + * mail/supercite.el (sc-emacs-features): Test for "Emacs 19" + by really checking that it is not version 18. + + * emacs-lisp/lisp-mode.el (eval-defun): Doc fix. + 2001-10-28 Per Abrahamsen * cus-start.el (recursive-load-depth-limit): Added. diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 7cae7a92a7b..a6b15ca35df 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -512,10 +512,11 @@ Return the result of evaluation." (defun eval-defun (edebug-it) "Evaluate the top-level form containing point, or after point. -If the current defun is actually a call to `defvar', then reset the -variable using its initial value expression even if the variable -already has some other value. (Normally `defvar' does not change the -variable's value if it already has a value.) +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.) With a prefix argument, instrument the code for Edebug.