aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1991-10-25 22:16:38 +0000
committerJim Blandy1991-10-25 22:16:38 +0000
commitf798d950c80153954676635b032b3a894b307b1d (patch)
tree94f932fe3b22548bc9a90f09bafd43a74796ba07
parent3e2bea7c253f0393f9209b4b75f724bf0166fded (diff)
downloademacs-f798d950c80153954676635b032b3a894b307b1d.tar.gz
emacs-f798d950c80153954676635b032b3a894b307b1d.zip
*** empty log message ***
-rw-r--r--lisp/emacs-lisp/lisp-mode.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index 54c31c3c78e..0f9193a71c7 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -202,9 +202,10 @@ if that value is non-nil."
202(defun eval-print-last-sexp () 202(defun eval-print-last-sexp ()
203 "Evaluate sexp before point; print value into current buffer." 203 "Evaluate sexp before point; print value into current buffer."
204 (interactive) 204 (interactive)
205 (terpri (current-buffer)) 205 (let ((standard-output (current-buffer)))
206 (eval-last-sexp t) 206 (terpri)
207 (terpri (current-buffer))) 207 (eval-last-sexp t)
208 (terpri)))
208 209
209(defun eval-last-sexp (arg) 210(defun eval-last-sexp (arg)
210 "Evaluate sexp before point; print value in minibuffer. 211 "Evaluate sexp before point; print value in minibuffer.