From: Glenn Morris Date: Fri, 30 May 2008 02:58:50 +0000 (+0000) Subject: (cal-tex-list-diary-entries): Use LIST-ONLY argument of X-Git-Tag: emacs-pretest-23.0.90~5204 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=75c72180466112aab24ef0ea17e59348806834b3;p=emacs.git (cal-tex-list-diary-entries): Use LIST-ONLY argument of diary-list-entries rather than setting diary-display-hook. --- diff --git a/lisp/calendar/cal-tex.el b/lisp/calendar/cal-tex.el index 9ac25be0bef..ceba455c134 100644 --- a/lisp/calendar/cal-tex.el +++ b/lisp/calendar/cal-tex.el @@ -265,11 +265,9 @@ This definition is the heart of the calendar!") (defun cal-tex-list-diary-entries (d1 d2) "Generate a list of all diary-entries from absolute date D1 to D2." - (let ((diary-list-include-blanks nil) - (diary-display-hook 'ignore)) - (diary-list-entries - (calendar-gregorian-from-absolute d1) - (1+ (- d2 d1))))) + (let (diary-list-include-blanks) + (diary-list-entries (calendar-gregorian-from-absolute d1) + (1+ (- d2 d1)) t))) (defun cal-tex-preamble (&optional args) "Insert the LaTeX calendar preamble into `cal-tex-buffer'.