mirror of https://github.com/djcb/mu.git
Merge pull request #2612 from seanfarley/smf/alert
mu4e: add support for macOS notifications
This commit is contained in:
commit
eda3b9397f
|
@ -67,6 +67,9 @@ support."
|
|||
(if (= delta-unread 1) "" "s")
|
||||
(plist-get fav :name))))
|
||||
(cond
|
||||
((fboundp 'do-applescript)
|
||||
(do-applescript
|
||||
(format "display notification %S with title %S" body title)))
|
||||
((fboundp 'notifications-notify)
|
||||
;; notifications available
|
||||
(setq mu4e--notification-id
|
||||
|
|
Loading…
Reference in New Issue