# HG changeset patch # User Jim Blandy # Date 738030261 0 # Node ID 2c1f0215fcc3824b8236c80bd218c0886e603ba1 # Parent f66a150d3fb935b2a100367873768b3c0ca7c2d6 * holidays.el: Update reference to the papers in S-P&E. (filter-visible-calendar-holidays): Test for nil date. diff -r f66a150d3fb9 -r 2c1f0215fcc3 lisp/calendar/cal-french.el --- a/lisp/calendar/cal-french.el Sat May 22 00:12:17 1993 +0000 +++ b/lisp/calendar/cal-french.el Sat May 22 00:24:21 1993 +0000 @@ -28,11 +28,11 @@ ;; This collection of functions implements the features of calendar.el and ;; diary.el that deal with the French Revolutionary calendar. -;; Technical details of the French Revolutionary calendrical calculations can -;; be found in ``Calendrical Calculations, Part II: Three Historical -;; Calendars'' by E. M. Reingold, N. Dershowitz, and S. M. Clamen, -;; Report Number UIUCDCS-R-92-1743, Department of Computer Science, -;; University of Illinois, April, 1992. +;; Technical details of the Mayan calendrical calculations can be found in +;; ``Calendrical Calculations, Part II: Three Historical Calendars'' +;; by E. M. Reingold, N. Dershowitz, and S. M. Clamen, +;; Software--Practice and Experience, Volume 23, Number 4 (April, 1993), +;; pages 383-404. ;; Comments, corrections, and improvements should be sent to ;; Edward M. Reingold Department of Computer Science diff -r f66a150d3fb9 -r 2c1f0215fcc3 lisp/calendar/cal-mayan.el --- a/lisp/calendar/cal-mayan.el Sat May 22 00:12:17 1993 +0000 +++ b/lisp/calendar/cal-mayan.el Sat May 22 00:24:21 1993 +0000 @@ -46,8 +46,8 @@ ;; Technical details of the Mayan calendrical calculations can be found in ;; ``Calendrical Calculations, Part II: Three Historical Calendars'' ;; by E. M. Reingold, N. Dershowitz, and S. M. Clamen, -;; Report Number UIUCDCS-R-92-1743, Department of Computer Science, -;; University of Illinois, April, 1992. +;; Software--Practice and Experience, Volume 23, Number 4 (April, 1993), +;; pages 383-404. ;;; Code: diff -r f66a150d3fb9 -r 2c1f0215fcc3 lisp/calendar/holidays.el --- a/lisp/calendar/holidays.el Sat May 22 00:12:17 1993 +0000 +++ b/lisp/calendar/holidays.el Sat May 22 00:24:21 1993 +0000 @@ -38,8 +38,8 @@ ;; Software--Practice and Experience, Volume 20, Number 9 (September, 1990), ;; pages 899-928. ``Calendrical Calculations, Part II: Three Historical ;; Calendars'' by E. M. Reingold, N. Dershowitz, and S. M. Clamen, -;; Report Number UIUCDCS-R-92-1743, Department of Computer Science, -;; University of Illinois, April, 1992. +;; Software--Practice and Experience, Volume 23, Number 4 (April, 1993), +;; pages 383-404. ;; Hard copies of these two papers can be obtained by sending email to ;; reingold@cs.uiuc.edu with the SUBJECT "send-paper-cal" (no quotes) and @@ -662,8 +662,9 @@ (let ((visible) (p l)) (while p - (if (calendar-date-is-visible-p (car (car p))) - (setq visible (append (list (car p)) visible))) + (and (car (car p)) + (calendar-date-is-visible-p (car (car p))) + (setq visible (append (list (car p)) visible))) (setq p (cdr p))) visible))