]> git.eshelyaron.com Git - emacs.git/commit
trace.el: Preserve the line structure
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 4 Mar 2022 17:18:41 +0000 (12:18 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 4 Mar 2022 17:18:41 +0000 (12:18 -0500)
commit6ad223fa9f0d30f321dea90f2228873d166003bb
treeb63252cab2d1c2b8b9740d70e0f648a365d644de
parent5f7db63a93f0c670d6f88dd24f922462abce7d8c
trace.el: Preserve the line structure

Print newlines appearing inside values (i.e. inside strings) as \n
rather than actual newlines so as to avoid messing up the main
structure of the trace buffer.

* lisp/emacs-lisp/trace.el (trace-entry-message)
(trace-exit-message, trace--read-args): Quote newlines
lisp/emacs-lisp/trace.el