changeset 2945:2c1f0215fcc3

* holidays.el: Update reference to the papers in S-P&E. (filter-visible-calendar-holidays): Test for nil date.
author Jim Blandy <jimb@redhat.com>
date Sat, 22 May 1993 00:24:21 +0000
parents f66a150d3fb9
children 1f24ead69a2f
files lisp/calendar/cal-french.el lisp/calendar/cal-mayan.el lisp/calendar/holidays.el
diffstat 3 files changed, 12 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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:
 
--- 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))