Fix notifications

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Dimitri Fontaine <dim@tapoueh.org>
This commit is contained in:
Julien Danjou 2010-09-27 20:24:40 +02:00 committed by Dimitri Fontaine
parent a47962c154
commit 1555899ddb

View File

@ -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))))