diff options
author | Phillip Lord <phillip.lord@russet.org.uk> | 2015-10-26 20:27:16 +0000 |
---|---|---|
committer | Phillip Lord <phillip.lord@russet.org.uk> | 2015-10-26 20:27:16 +0000 |
commit | 5c86118b4ba818ed1fd48258f884f95d98674693 (patch) | |
tree | 32eea591f208829efa213e1de6888e962f6d4188 /lisp/emacs-lisp | |
parent | 93dba9c2d7fd511fd7deba2e172cd54a73314d0b (diff) | |
download | emacs-5c86118b4ba818ed1fd48258f884f95d98674693.tar.gz emacs-5c86118b4ba818ed1fd48258f884f95d98674693.tar.bz2 emacs-5c86118b4ba818ed1fd48258f884f95d98674693.zip |
* lisp/emacs-lisp/ert.el: Print results without newline escaping
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/ert.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el index 2eba0216faf..21c1f1be394 100644 --- a/lisp/emacs-lisp/ert.el +++ b/lisp/emacs-lisp/ert.el @@ -64,7 +64,7 @@ (require 'ewoc) (require 'find-func) (require 'help) - +(require 'pp) ;;; UI customization options. @@ -1300,7 +1300,8 @@ EXPECTEDP specifies whether the result was expected." (defun ert--pp-with-indentation-and-newline (object) "Pretty-print OBJECT, indenting it to the current column of point. Ensures a final newline is inserted." - (let ((begin (point))) + (let ((begin (point)) + (pp-escape-newlines nil)) (pp object (current-buffer)) (unless (bolp) (insert "\n")) (save-excursion |