From 06952353b054743a5a57f7501d902d766b0b3dac Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Fri, 12 Aug 2016 19:29:16 -0400 Subject: [PATCH] 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). --- lisp/simple.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lisp/simple.el b/lisp/simple.el index 43ad43cf927..c08a01faed6 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. -- 2.39.2