changeset 95413:2b0558bc8d53

(cal-html-list-diary-entries): Use LIST-ONLY argument of diary-list-entries rather than setting diary-display-hook.
author Glenn Morris <rgm@gnu.org>
date Fri, 30 May 2008 02:58:33 +0000
parents f8723a1032ed
children db35abe41bba
files lisp/calendar/cal-html.el
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/cal-html.el	Fri May 30 02:58:01 2008 +0000
+++ b/lisp/calendar/cal-html.el	Fri May 30 02:58:33 2008 +0000
@@ -343,10 +343,8 @@
 
 (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)