aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-05-30 02:58:50 +0000
committerGlenn Morris2008-05-30 02:58:50 +0000
commit75c72180466112aab24ef0ea17e59348806834b3 (patch)
tree3596d145c6865ac41259b1780e309545021940c3
parentfb696168dca82570bad1572d4aad45872aacf31b (diff)
downloademacs-75c72180466112aab24ef0ea17e59348806834b3.tar.gz
emacs-75c72180466112aab24ef0ea17e59348806834b3.zip
(cal-tex-list-diary-entries): Use LIST-ONLY argument of
diary-list-entries rather than setting diary-display-hook.
-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'.