From ebc03d28d74503bb525d1d3643ac24ac9cec87ae Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sun, 27 Jun 1999 21:45:34 +0000 Subject: [PATCH] (eval-defun): Doc fix. --- lisp/emacs-lisp/lisp-mode.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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") -- 2.39.2