mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 13:08:51 +08:00
Fix notifications
Signed-off-by: Julien Danjou <julien@danjou.info> Signed-off-by: Dimitri Fontaine <dim@tapoueh.org>
This commit is contained in:
parent
a47962c154
commit
1555899ddb
|
@ -1394,7 +1394,8 @@ from `el-get-sources'."
|
|||
(require 'notifications nil t))
|
||||
|
||||
;; we use cond for potential adding of notification methods
|
||||
(cond ((fboundp 'notifications-notify) (notifications-notify title message))
|
||||
(cond ((fboundp 'notifications-notify) (notifications-notify
|
||||
:title title :body message))
|
||||
((fboundp 'growl) (growl title message))
|
||||
(t (message "%s: %s" title message))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user