Mercurial > emacs
changeset 40409:216728b10960
(eval-defun): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 28 Oct 2001 14:15:14 +0000 |
parents | 4389d47e0f42 |
children | c2c136a07481 |
files | lisp/emacs-lisp/lisp-mode.el |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp-mode.el Sun Oct 28 14:14:44 2001 +0000 +++ b/lisp/emacs-lisp/lisp-mode.el Sun Oct 28 14:15:14 2001 +0000 @@ -574,10 +574,11 @@ (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.