]> git.eshelyaron.com Git - emacs.git/commit
Print newlines as \n instead of \12 in ERT results
authorMattias Engdegård <mattiase@acm.org>
Fri, 25 Jun 2021 17:43:04 +0000 (19:43 +0200)
committerMattias Engdegård <mattiase@acm.org>
Fri, 25 Jun 2021 17:55:27 +0000 (19:55 +0200)
commit52528d6a162630a57ec0dd182295b4ce2c4c228d
tree86b0601f42c89e798c3bf7dd2116758b5c27f287
parentdb491e07a2ae235edbf7e126510f428a33686096
Print newlines as \n instead of \12 in ERT results

This makes test errors unquestionably more readable.  The change also
makes FF print as \f; other controls still use octal escapes.

* lisp/emacs-lisp/ert.el (ert--pp-with-indentation-and-newline):
Run `pp` with `pp-escape-newlines` set to `t`.
lisp/emacs-lisp/ert.el