mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Escape newlines when printing functions in timer list
* timer-list.el (list-timers): Bind `print-escape-newlines' to avoid newlines in printed representation (bug#36187).
This commit is contained in:
parent
f660616f82
commit
bfec493efe
1 changed files with 2 additions and 1 deletions
|
|
@ -59,7 +59,8 @@
|
|||
(format "%s" repeat))))
|
||||
;; Function.
|
||||
(let ((cl-print-compiled 'static)
|
||||
(cl-print-compiled-button nil))
|
||||
(cl-print-compiled-button nil)
|
||||
(print-escape-newlines t))
|
||||
(cl-prin1-to-string (aref timer 5)))))
|
||||
(put-text-property (line-beginning-position)
|
||||
(1+ (line-beginning-position))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue