From fb696168dca82570bad1572d4aad45872aacf31b Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 30 May 2008 02:58:33 +0000 Subject: [PATCH] (cal-html-list-diary-entries): Use LIST-ONLY argument of diary-list-entries rather than setting diary-display-hook. --- lisp/calendar/cal-html.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lisp/calendar/cal-html.el b/lisp/calendar/cal-html.el index de5b68cc61b..780da9592bf 100644 --- a/lisp/calendar/cal-html.el +++ b/lisp/calendar/cal-html.el @@ -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) -- 2.39.2