Browse Source

Keep byte compiler happy.

Bastien Guerry 14 years ago
parent
commit
e13843ef65
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lisp/org-clock.el

+ 2 - 0
lisp/org-clock.el

@@ -35,6 +35,7 @@
   (require 'cl))
 
 (declare-function calendar-absolute-from-iso    "cal-iso"    (&optional date))
+(declare-function notifications-notify "notifications" ())
 (defvar org-time-stamp-formats)
 
 (defgroup org-clock nil
@@ -558,6 +559,7 @@ use libnotify if available, or fall back on a message."
 	 (start-process "emacs-timer-notification" nil
 			org-show-notification-handler notification))
 	((featurep 'notifications)
+	 (require 'notifications)
 	 (notifications-notify
 	  :title "Org-mode message"
 	  :body notification