From: Eli Zaretskii Date: Sat, 10 Feb 2001 06:45:56 +0000 (+0000) Subject: (eval-expression): Doc fix. X-Git-Tag: emacs-pretest-21.0.98~59 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a6a1ee536e4de6e7a4c27fa467f60b76333e5480;p=emacs.git (eval-expression): Doc fix. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 98d694729cd..46e8f8aa2b5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2001-02-10 Eli Zaretskii + + * simple.el (eval-expression): Doc fix. + 2001-02-09 Dave Love * imenu.el (imenu-generic-expression): Doc fix. diff --git a/lisp/simple.el b/lisp/simple.el index 0af34931da1..147f1303c3b 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -581,8 +581,11 @@ If nil, don't change the value of `debug-on-error'." ;; for the sake of completion of names like eval-region, eval-current-buffer. (defun eval-expression (eval-expression-arg &optional eval-expression-insert-value) - "Evaluate EXPRESSION and print value in minibuffer. -Value is also consed on to front of the variable `values'." + "Evaluate EVAL-EXPRESSION-ARG and print value in the echo area. +Value is also consed on to front of the variable `values'. +Optional argument EVAL-EXPRESSION-INSERT-VALUE, if non-nil, means +insert the result into the current buffer instead of printing it in +the echo area." (interactive (list (read-from-minibuffer "Eval: " nil read-expression-map t