Udate the docstring of org-show-notification.

This commit is contained in:
Bastien Guerry 2009-07-27 01:11:51 +08:00
parent 6ebb5f2304
commit 7a1a62d2f2
2 changed files with 7 additions and 3 deletions

View File

@ -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>

View File

@ -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)