mu4e-speedbar: fix compiler warning

This commit is contained in:
Dirk-Jan C. Binnema 2021-04-23 09:56:27 +03:00
parent 6307bc02c4
commit 3a418745e1
1 changed files with 2 additions and 4 deletions

View File

@ -71,10 +71,8 @@
(let ((inhibit-read-only t)) (let ((inhibit-read-only t))
(mu4e-speedbar-buttons))))) (mu4e-speedbar-buttons)))))
;; Make sure our special speedbar major mode is loaded (with-eval-after-load 'speedbar
(if (featurep 'speedbar) (mu4e-speedbar-install-variables))
(mu4e-speedbar-install-variables)
(add-hook 'speedbar-load-hook 'mu4e-speedbar-install-variables))
(defun mu4e~speedbar-render-maildir-list () (defun mu4e~speedbar-render-maildir-list ()
"Insert the list of maildirs in the speedbar." "Insert the list of maildirs in the speedbar."