]> code.delx.au - gnu-emacs/commitdiff
Prevent diary display from being corrupted on printed calendar generation.
authorEdward M. Reingold <reingold@emr.cs.iit.edu>
Tue, 9 Jun 1998 22:30:01 +0000 (22:30 +0000)
committerEdward M. Reingold <reingold@emr.cs.iit.edu>
Tue, 9 Jun 1998 22:30:01 +0000 (22:30 +0000)
lisp/calendar/cal-tex.el

index 47d179b9c727efc465423838495cf078438351ae..265bcd64cec6eb004ed910c5959ad0f0a6482e22 100644 (file)
@@ -203,7 +203,7 @@ 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 nil))
+        (diary-display-hook 'ignore))
     (list-diary-entries
      (calendar-gregorian-from-absolute d1)
      (1+ (- d2 d1)))))