From 22e088c68f0e68f20d35aa1188516fdcb91b7298 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 28 Jan 2007 07:05:17 +0000 Subject: [PATCH] (eval-expression): Don't use eval-last-sexp-print-value when inserting in buffer. --- lisp/simple.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/simple.el b/lisp/simple.el index ac97d53d3bf..8c03b919c59 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -1079,7 +1079,7 @@ this command arranges for all errors to enter the debugger." (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)))) -- 2.39.2