1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-02 11:21:42 +00:00

* lisp/emacs-lisp/edebug.el (edebug-eval-defun): Print result using

proper Lisp quoting.

Fixes: debbugs:17934
This commit is contained in:
Stefan Monnier 2014-07-05 15:11:59 -04:00
parent d66146bf18
commit b16a9348e4
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/edebug.el (edebug-eval-defun): Print result using
proper Lisp quoting (bug#17934).
* progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
require-final-newline since prog-mode already took care of it (bug#17947).

View File

@ -497,7 +497,7 @@ the minibuffer."
(setq edebug-result (eval (eval-sexp-add-defvars form) lexical-binding))
(if (not edebugging)
(prog1
(princ edebug-result)
(prin1 edebug-result)
(let ((str (eval-expression-print-format edebug-result)))
(if str (princ str))))
edebug-result)))