tweak(wanderlust): switch to alerting

This commit is contained in:
Kirill A. Korinsky 2024-01-14 14:09:05 +01:00
parent 1ddd74b003
commit 916c97bdf1
No known key found for this signature in database
GPG key ID: 98D8D9867759226E

View file

@ -70,6 +70,10 @@
(setq wl-message-id-domain wl-local-domain) (setq wl-message-id-domain wl-local-domain)
;; Use alert for alerting
(when (fboundp 'alert)
(setq wl-biff-notify-hook '((lambda () (alert "You have new mail!" :title "Wanderlust")))))
(when (modulep! :editor evil) (when (modulep! :editor evil)
;; Neither `wl-folder-mode' nor `wl-summary-mode' are correctly defined as ;; Neither `wl-folder-mode' nor `wl-summary-mode' are correctly defined as
;; major modes, so we cannot use `set-evil-initial-state!' here. ;; major modes, so we cannot use `set-evil-initial-state!' here.