diff options
author | Karl Heuer <kwzh@gnu.org> | 1999-06-27 21:45:34 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1999-06-27 21:45:34 +0000 |
commit | f470b620e018fbe2c988880354d5b107c4c5c2ac (patch) | |
tree | e9441db944529671ece012caddb81a4deaaf9df1 /lisp | |
parent | 059d114aea30196abd763edc8504ad1a3dc54141 (diff) | |
download | emacs-f470b620e018fbe2c988880354d5b107c4c5c2ac.tar.gz |
(eval-defun): Doc fix.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 98f53a2cd29..c9761d3a9f2 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -346,7 +346,13 @@ With argument, print output into current buffer." (defun eval-defun (eval-defun-arg-internal) "Evaluate defun that point is in or before. -Print value in minibuffer. +The value is displayed in the minibuffer. +If the current defun is actually a call to `defvar', +then reset the variable using the 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.\) + With argument, insert value in current buffer after the defun. Return the result of evaluation." (interactive "P") |