Merge pull request #1740 from stsquad/ui-fixes

mu4e/mu4e-utils: only set so-long-mode once
This commit is contained in:
Dirk-Jan C. Binnema 2020-06-29 22:43:04 +03:00 committed by GitHub
commit 0355479b51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1009,7 +1009,8 @@ either 'to-server, 'from-server or 'misc. This function is meant for debugging."
(view-mode)
(when (fboundp 'so-long-mode)
(eval '(so-long-mode)))
(unless (eq major-mode 'so-long-mode)
(eval '(so-long-mode))))
(setq buffer-undo-list t)
(let* ((inhibit-read-only t)