[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [PATCH] org-notify - treat notification as a variable not a fu

From: Bernt Hansen
Subject: [Orgmode] [PATCH] org-notify - treat notification as a variable not a function
Date: Wed, 26 Aug 2009 15:35:44 -0400

notification is passed to org-show-notification and should not be
invoked as a function.
This patch is available at git://git.norang.ca/org-mode for-carsten

 lisp/org-clock.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 90f780a..2cc9376 100644
--- a/lisp/org-clock.el
+++ b/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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]