* lisp/simple.el (eval-expression-print-format): Don't check for
commitb41594fd4d77194a6781ee5a84e01142ad1b72e7
authorJuri Linkov <juri@jurta.org>
Thu, 19 Dec 2013 21:02:46 +0000 (19 23:02 +0200)
committerJuri Linkov <juri@jurta.org>
Thu, 19 Dec 2013 21:02:46 +0000 (19 23:02 +0200)
tree84cb4eb66d7dea9cee8708a53a3d2160dd80b4d8
parent459457271091c8bb0b6734fe9bd709e86a8c66c1
* lisp/simple.el (eval-expression-print-format): Don't check for
command names and the last command.  Always display additional
formats of the integer result in the echo area, and insert them
to the current buffer only with a zero prefix arg.
Display character when char-displayable-p is non-nil.
(eval-expression): With a zero prefix arg, set `print-length' and
`print-level' to nil, and insert the integer values from
`eval-expression-print-format' at the end.  Doc fix.

* lisp/emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
`eval-last-sexp-arg-internal'.  Doc fix.
(eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
`eval-last-sexp-print-value'.  Doc fix.
(eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
Set `print-length' and `print-level' to nil when arg is zero.
(eval-last-sexp): Doc fix.
(eval-defun-2): Print the integer values from
`eval-expression-print-format' at the end.

* lisp/emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
values from `eval-expression-print-format' at the end.

* lisp/ielm.el (ielm-eval-input): Print the integer
values from `eval-expression-print-format' at the end.

Fixes: debbugs:12985
etc/NEWS
lisp/ChangeLog
lisp/emacs-lisp/edebug.el
lisp/emacs-lisp/lisp-mode.el
lisp/ielm.el
lisp/simple.el