Browse Source

org-notify: bugfix by Bernt Hansen.

Bastien Guerry 15 năm trước cách đây
mục cha
commit
c34ca53f2f
2 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 4 0
      lisp/ChangeLog
  2. 1 1
      lisp/org-clock.el

+ 4 - 0
lisp/ChangeLog

@@ -1,3 +1,7 @@
+2009-08-26  Bernt Hansen  <bernt@norang.ca>  (tiny change)
+
+	* org-clock.el (org-notify): Bugfix.
+
 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
 
 	* org-agenda.el (org-agenda-open-link): Handle multiple links and

+ 1 - 1
lisp/org-clock.el

@@ -446,7 +446,7 @@ Notification is shown only once."
 
 (defun org-notify (notification &optional play-sound)
   "Send a NOTIFICATION and maybe PLAY-SOUND."
-  (org-show-notification (notification))
+  (org-show-notification notification)
   (if play-sound (org-clock-play-sound)))
 
 (defun org-show-notification (notification)