Mercurial > emacs
changeset 24895:485668a57232
(eval-defun): Doc fix.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Sun, 27 Jun 1999 21:45:34 +0000 |
parents | dcb1db1b1105 |
children | 701d2b4c7484 |
files | lisp/emacs-lisp/lisp-mode.el |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp-mode.el Sun Jun 27 21:43:52 1999 +0000 +++ b/lisp/emacs-lisp/lisp-mode.el Sun Jun 27 21:45:34 1999 +0000 @@ -346,7 +346,13 @@ (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")