From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: [PATCH] org-notify - treat notification as a variable not a function Date: Wed, 26 Aug 2009 15:35:44 -0400 Message-ID: <1251315344-16424-1-git-send-email-bernt@norang.ca> References: <87y6p6xvav.fsf@gollum.intra.norang.ca> Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgOHm-0004b9-Sp for emacs-orgmode@gnu.org; Wed, 26 Aug 2009 15:35:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MgOHj-0004Za-EJ for emacs-orgmode@gnu.org; Wed, 26 Aug 2009 15:35:58 -0400 Received: from [199.232.76.173] (port=56661 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgOHj-0004ZV-5N for emacs-orgmode@gnu.org; Wed, 26 Aug 2009 15:35:55 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:63790) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MgOHi-0001wS-HX for emacs-orgmode@gnu.org; Wed, 26 Aug 2009 15:35:54 -0400 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.148.180] helo=mail.norang.ca) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1MgOHg-000P7C-1Q for emacs-orgmode@gnu.org; Wed, 26 Aug 2009 19:35:52 +0000 In-Reply-To: <87y6p6xvav.fsf@gollum.intra.norang.ca> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: Bernt Hansen 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) -- 1.6.4.1.331.gda1d56