From: Glenn Morris Date: Fri, 30 May 2008 02:58:33 +0000 (+0000) Subject: (cal-html-list-diary-entries): Use LIST-ONLY argument of X-Git-Tag: emacs-pretest-23.0.90~5205 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fb696168dca82570bad1572d4aad45872aacf31b;p=emacs.git (cal-html-list-diary-entries): Use LIST-ONLY argument of diary-list-entries rather than setting diary-display-hook. --- 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)