mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(eval-expression): Bind standard-output in to-buffer case.
This commit is contained in:
parent
2f71b5eae8
commit
683e741557
1 changed files with 2 additions and 1 deletions
|
|
@ -663,7 +663,8 @@ the echo area."
|
|||
(print-level eval-expression-print-level))
|
||||
(if eval-expression-insert-value
|
||||
(with-no-warnings
|
||||
(eval-last-sexp-print-value (car values)))
|
||||
(let ((standard-output (current-buffer)))
|
||||
(eval-last-sexp-print-value (car values))))
|
||||
(prin1 (car values) t))))
|
||||
|
||||
(defun edit-and-eval-command (prompt command)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue