Mercurial > emacs
diff lisp/simple.el @ 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 | e3694f1cb928 |
children | ee95fe58241e b8d9a391daf3 f83d17e1ace6 |
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))))