From 7a1a62d2f258e73e01df889295369696a76dc77e Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Mon, 27 Jul 2009 01:11:51 +0800 Subject: [PATCH] Udate the docstring of org-show-notification. --- lisp/ChangeLog | 6 ++++-- lisp/org-clock.el | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 80e466707..2bd0179aa 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,10 +1,12 @@ 2009-07-26 Bastien Guerry + * 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 diff --git a/lisp/org-clock.el b/lisp/org-clock.el index ebea037b9..7fa15e05b 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)