diff options
author | Anders Lindgren <andlind@gmail.com> | 2015-10-28 12:13:18 +0100 |
---|---|---|
committer | Anders Lindgren <andlind@gmail.com> | 2015-10-28 12:13:18 +0100 |
commit | e69f7770611d85e130806763a46db7e212bc952f (patch) | |
tree | 96bdd02003f21cea72a604d8f14a06ff99cd9744 /lisp/emacs-lisp/ert.el | |
parent | 0392e241b844487261d4dfcccc9a442793e0a868 (diff) | |
parent | cc587a3539612d250d222363b18d15258e33f82a (diff) | |
download | emacs-e69f7770611d85e130806763a46db7e212bc952f.tar.gz |
Merge branch 'master' of /Volumes/HD2/build/emacs-git-ssh
Diffstat (limited to 'lisp/emacs-lisp/ert.el')
-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 |