changeset 422:5abb8aac7c6b

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Fri, 25 Oct 1991 22:16:38 +0000
parents 1cc29824b3f1
children a746c1098ea6
files lisp/emacs-lisp/lisp-mode.el
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp-mode.el	Fri Oct 25 18:59:47 1991 +0000
+++ b/lisp/emacs-lisp/lisp-mode.el	Fri Oct 25 22:16:38 1991 +0000
@@ -202,9 +202,10 @@
 (defun eval-print-last-sexp ()
   "Evaluate sexp before point; print value into current buffer."
   (interactive)
-  (terpri (current-buffer))
-  (eval-last-sexp t)
-  (terpri (current-buffer)))
+  (let ((standard-output (current-buffer)))
+    (terpri)
+    (eval-last-sexp t)
+    (terpri)))
 
 (defun eval-last-sexp (arg)
   "Evaluate sexp before point; print value in minibuffer.