Commit 75c72180 authored by Glenn Morris's avatar Glenn Morris
Browse files

(cal-tex-list-diary-entries): Use LIST-ONLY argument of

diary-list-entries rather than setting diary-display-hook.
parent fb696168
......@@ -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'.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment