summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2016-08-12 19:29:16 -0400
committerNoam Postavsky <npostavs@gmail.com>2016-08-12 20:14:05 -0400
commit06952353b054743a5a57f7501d902d766b0b3dac (patch)
tree2d31139092d3b78d9989c44c0cf822d67687de84
parent98b01dd1ef004b79de4998691a84bed6ea1ca0ba (diff)
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).
-rw-r--r--lisp/simple.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 43ad43cf92..c08a01faed 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1457,16 +1457,16 @@ result of expression evaluation."
"Evaluate EXP and print value in the echo area.
When called interactively, read an Emacs Lisp expression and evaluate it.
Value is also consed on to front of the variable `values'.
-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.
+If the resulting value is an integer, it will be printed in
+several additional formats (octal, hexadecimal, and character).
+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
of the variables `eval-expression-print-length' and
`eval-expression-print-level'. With a prefix argument of zero,
-however, there is no such truncation. Such a prefix argument
-also causes integers to be printed in several additional formats
-\(octal, hexadecimal, and character).
+however, there is no such truncation.
Runs the hook `eval-expression-minibuffer-setup-hook' on entering the
minibuffer.