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 | ebc03d28d74503bb525d1d3643ac24ac9cec87ae (patch) | |
tree | 3a5c9ee4273ddc69a8d6e553cc23709ea8f66c26 /lisp/emacs-lisp/lisp-mode.el | |
parent | 47d1bc29bb52bdb9497a63753d99044107764b12 (diff) | |
download | emacs-ebc03d28d74503bb525d1d3643ac24ac9cec87ae.tar.gz emacs-ebc03d28d74503bb525d1d3643ac24ac9cec87ae.tar.bz2 emacs-ebc03d28d74503bb525d1d3643ac24ac9cec87ae.zip |
(eval-defun): Doc fix.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
-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") |