Merge pull request #1731 from cireu/require-desktop-on-use

mu4e: Delay the execution of workaround for desktop.el
This commit is contained in:
Dirk-Jan C. Binnema 2020-06-21 17:50:40 +03:00 committed by GitHub
commit 7db921c69d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -42,8 +42,8 @@
;; We can't properly use compose buffers that are revived using
;; desktop-save-mode; so let's turn that off.
(require 'desktop)
(add-to-list 'desktop-modes-not-to-save 'mu4e-compose-mode)
(with-eval-after-load 'desktop
(eval '(add-to-list 'desktop-modes-not-to-save 'mu4e-compose-mode)))
;;;###autoload