]> git.eshelyaron.com Git - emacs.git/commitdiff
(cal-html-list-diary-entries): Use LIST-ONLY argument of
authorGlenn Morris <rgm@gnu.org>
Fri, 30 May 2008 02:58:33 +0000 (02:58 +0000)
committerGlenn Morris <rgm@gnu.org>
Fri, 30 May 2008 02:58:33 +0000 (02:58 +0000)
diary-list-entries rather than setting diary-display-hook.

lisp/calendar/cal-html.el

index de5b68cc61bfd0e34e32c5201ebc2e11f2edf9cf..780da9592bf9b84b38df302ee2235bd2f839642a 100644 (file)
@@ -343,10 +343,8 @@ DATE-LIST is a list of diary entries.  Return only those matching DATE."
 
 (defun cal-html-list-diary-entries (d1 d2)
   "Generate a list of all diary-entries from absolute date D1 to D2."
-  (let (diary-display-hook)
-    (diary-list-entries
-     (calendar-gregorian-from-absolute d1)
-     (1+ (- d2 d1)))))
+  (diary-list-entries (calendar-gregorian-from-absolute d1)
+                      (1+ (- d2 d1)) t))
 
 
 (defun cal-html-insert-agenda-days (month year diary-list)