Fix docstring of eval-expression

* lisp/simple.el (eval-expression): Fix the docstring to reflect the
fact that the prefix argument does not affect formatting for
integers (Bug #20691).
This commit is contained in:
Noam Postavsky 2016-08-12 19:29:16 -04:00
parent 98b01dd1ef
commit 06952353b0

View file

@ -1457,16 +1457,16 @@ result of expression evaluation."
"Evaluate EXP and print value in the echo area. "Evaluate EXP and print value in the echo area.
When called interactively, read an Emacs Lisp expression and evaluate it. When called interactively, read an Emacs Lisp expression and evaluate it.
Value is also consed on to front of the variable `values'. Value is also consed on to front of the variable `values'.
Optional argument INSERT-VALUE non-nil (interactively, with prefix If the resulting value is an integer, it will be printed in
argument) means insert the result into the current buffer instead of several additional formats (octal, hexadecimal, and character).
printing it in the echo area. Optional argument INSERT-VALUE non-nil (interactively, with
prefix argument) means insert the result into the current buffer
instead of printing it in the echo area.
Normally, this function truncates long output according to the value Normally, this function truncates long output according to the value
of the variables `eval-expression-print-length' and of the variables `eval-expression-print-length' and
`eval-expression-print-level'. With a prefix argument of zero, `eval-expression-print-level'. With a prefix argument of zero,
however, there is no such truncation. Such a prefix argument however, there is no such truncation.
also causes integers to be printed in several additional formats
\(octal, hexadecimal, and character).
Runs the hook `eval-expression-minibuffer-setup-hook' on entering the Runs the hook `eval-expression-minibuffer-setup-hook' on entering the
minibuffer. minibuffer.