Mercurial > emacs
changeset 75468:e6bf9dd8fe81
(eval-expression): Don't use eval-last-sexp-print-value
when inserting in buffer.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 28 Jan 2007 07:05:17 +0000 |
parents | f7861c313ea4 |
children | d2adef0ec2f0 |
files | lisp/simple.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/simple.el Sun Jan 28 03:04:38 2007 +0000 +++ b/lisp/simple.el Sun Jan 28 07:05:17 2007 +0000 @@ -1079,7 +1079,7 @@ (if eval-expression-insert-value (with-no-warnings (let ((standard-output (current-buffer))) - (eval-last-sexp-print-value (car values)))) + (prin1 (car values)))) (prog1 (prin1 (car values) t) (let ((str (eval-expression-print-format (car values))))