summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2009-07-27 01:11:51 +0800
committerBastien Guerry <bzg@altern.org>2009-07-27 01:11:51 +0800
commit7a1a62d2f258e73e01df889295369696a76dc77e (patch)
tree7d22f360c45969cda0f7bf746044b319038700f2
parent6ebb5f23046d40166695058fc6716fb405a2fd8e (diff)
downloadorg-mode-7a1a62d2f258e73e01df889295369696a76dc77e.tar.gz
Udate the docstring of org-show-notification.
-rwxr-xr-xlisp/ChangeLog6
-rw-r--r--lisp/org-clock.el4
2 files changed, 7 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 80e4667..2bd0179 100755
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,10 +1,12 @@
2009-07-26 Bastien Guerry <bzg@altern.org>
+ * org-clock.el (org-show-notification): Update the docstring.
+
* org.el (org-provide-todo-statistics): Allow new value
'all-headlines for this option, which includes entries with no
TODO keywords in the todo statistics.
- (org-update-parent-todo-statistics): Possibly use the new option
- from `org-provide-todo-statistics'.
+ (org-update-parent-todo-statistics): Possibly use the new
+ 'all-headline value from `org-provide-todo-statistics'.
2009-07-25 Bastien Guerry <bzg@altern.org>
diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index ebea037..7fa15e0 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -445,7 +445,9 @@ Notification is shown only once."
(setq org-clock-notification-was-shown nil)))))
(defun org-show-notification (notification)
- "Show notification. Use libnotify, if available."
+ "Show notification.
+Use `org-show-notification-handler' if defined,
+use libnotify if available, or fall back on a message."
(cond ((functionp org-show-notification-handler)
(funcall org-show-notification-handler notification))
((stringp org-show-notification-handler)