diff options
author | Noam Postavsky <npostavs@gmail.com> | 2017-04-23 22:21:42 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-05-19 18:16:15 -0400 |
commit | 267be4bdc28564a99f45da29e84eb98838117b50 (patch) | |
tree | 3816b74e945cb1a17a1f4c8ad5e25e4abb0e8206 /lisp/emacs-lisp | |
parent | c1c8b67246c4314b302cca2ac43f13a0baba4c16 (diff) | |
download | emacs-267be4bdc28564a99f45da29e84eb98838117b50.tar.gz emacs-267be4bdc28564a99f45da29e84eb98838117b50.tar.bz2 emacs-267be4bdc28564a99f45da29e84eb98838117b50.zip |
Refactor lisp eval result printing
* lisp/simple.el (eval-expression-print-format): Don't check
`standard-output' or `current-prefix-arg'.
(eval-expression-get-print-arguments): New function, centralizes
decision about how to print results of `eval-expression' and
`eval-last-sexp'.
(eval-expression):
* lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp-print-value):
Use it.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions