aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/calendar/cal-tex.el8
1 files changed, 3 insertions, 5 deletions
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!")
265 265
266(defun cal-tex-list-diary-entries (d1 d2) 266(defun cal-tex-list-diary-entries (d1 d2)
267 "Generate a list of all diary-entries from absolute date D1 to D2." 267 "Generate a list of all diary-entries from absolute date D1 to D2."
268 (let ((diary-list-include-blanks nil) 268 (let (diary-list-include-blanks)
269 (diary-display-hook 'ignore)) 269 (diary-list-entries (calendar-gregorian-from-absolute d1)
270 (diary-list-entries 270 (1+ (- d2 d1)) t)))
271 (calendar-gregorian-from-absolute d1)
272 (1+ (- d2 d1)))))
273 271
274(defun cal-tex-preamble (&optional args) 272(defun cal-tex-preamble (&optional args)
275 "Insert the LaTeX calendar preamble into `cal-tex-buffer'. 273 "Insert the LaTeX calendar preamble into `cal-tex-buffer'.