]> git.eshelyaron.com Git - emacs.git/commit
Fix printing the result by 'eval-print-last-sexp'
authorEli Zaretskii <eliz@gnu.org>
Sat, 18 May 2024 09:55:34 +0000 (12:55 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 18 May 2024 18:55:48 +0000 (20:55 +0200)
commitd49e6212cfc8953067bfd79753ffc9a6e4e68892
tree3c406f995b35ac1c34329d28eef27aaab91c2146
parent9f3b8b227597d1451d070afad89e2e120b190d8a
Fix printing the result by 'eval-print-last-sexp'

* lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Record the
desired output stream before evaluating the expression.
(Bug#70931)

(cherry picked from commit 82a31e27e6ceed17a116286d2f0f9810be2e1772)
lisp/progmodes/elisp-mode.el