From: Bernt Hansen <bernt@norang.ca>
To: emacs-orgmode@gnu.org
Cc: Bernt Hansen <bernt@norang.ca>
Subject: [PATCH] org-notify - treat notification as a variable not a function
Date: Wed, 26 Aug 2009 15:35:44 -0400 [thread overview]
Message-ID: <1251315344-16424-1-git-send-email-bernt@norang.ca> (raw)
In-Reply-To: <87y6p6xvav.fsf@gollum.intra.norang.ca>
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
next prev parent reply other threads:[~2009-08-26 19:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-26 18:51 Clock in error - (void-function notification) Bernt Hansen
2009-08-26 19:35 ` Bernt Hansen [this message]
2009-08-26 3:29 ` [PATCH] org-notify - treat notification as a variable not a function Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1251315344-16424-1-git-send-email-bernt@norang.ca \
--to=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.