mu4e-utils: use so-long-mode for logs when available

This commit is contained in:
Dirk-Jan C. Binnema
2020-06-26 19:25:45 +03:00
parent 3715bb0c5e
commit 5ca0b6e148

View File

@ -1007,6 +1007,10 @@ either 'to-server, 'from-server or 'misc. This function is meant for debugging."
(when mu4e-debug
(with-current-buffer (get-buffer-create mu4e~log-buffer-name)
(view-mode)
(when (fboundp 'so-long-mode)
(eval '(so-long-mode)))
(setq buffer-undo-list t)
(let* ((inhibit-read-only t)
(tstamp (propertize (format-time-string "%Y-%m-%d %T.%3N"