Mercurial > emacs
comparison lisp/emacs-lisp/lisp-mode.el @ 255:cdf87250ed27
*** empty log message ***
author | Roland McGrath <roland@gnu.org> |
---|---|
date | Thu, 09 May 1991 17:10:09 +0000 |
parents | 6617b231ec15 |
children | adb31fcccc2b |
comparison
equal
deleted
inserted
replaced
254:6617b231ec15 | 255:cdf87250ed27 |
---|---|
201 (run-hooks 'lisp-interaction-mode-hook)) | 201 (run-hooks 'lisp-interaction-mode-hook)) |
202 | 202 |
203 (defun eval-print-last-sexp () | 203 (defun eval-print-last-sexp () |
204 "Evaluate sexp before point; print value into current buffer." | 204 "Evaluate sexp before point; print value into current buffer." |
205 (interactive) | 205 (interactive) |
206 (newline) | 206 (terpri (current-buffer)) |
207 (eval-last-sexp t) | 207 (eval-last-sexp t) |
208 (newline)) | 208 (terpri (current-buffer))) |
209 | 209 |
210 (defun eval-last-sexp (arg) | 210 (defun eval-last-sexp (arg) |
211 "Evaluate sexp before point; print value in minibuffer. | 211 "Evaluate sexp before point; print value in minibuffer. |
212 With argument, print output into current buffer." | 212 With argument, print output into current buffer." |
213 (interactive "P") | 213 (interactive "P") |