Browse Source

Udate the docstring of org-show-notification.

Bastien Guerry 11 years ago
parent
commit
7a1a62d2f2
2 changed files with 7 additions and 3 deletions
  1. 4 2
      lisp/ChangeLog
  2. 3 1
      lisp/org-clock.el

+ 4 - 2
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>
 

+ 3 - 1
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)