# HG changeset patch # User Glenn Morris # Date 1205465527 0 # Node ID 69683285b1299cf4b34406600c6ecb786e38feaa # Parent 36a9933204937d89ceff27ccf3dfc40939c75878 (holiday-bahai, calendar-bahai-mark-date-pattern): Use unless. diff -r 36a993320493 -r 69683285b129 lisp/calendar/cal-bahai.el --- a/lisp/calendar/cal-bahai.el Fri Mar 14 03:31:52 2008 +0000 +++ b/lisp/calendar/cal-bahai.el Fri Mar 14 03:32:07 2008 +0000 @@ -194,8 +194,7 @@ (m (extract-calendar-month bahai-date)) (y (extract-calendar-year bahai-date)) (date)) - (if (< m 1) - nil ; Bahá'í calendar doesn't apply + (unless (< m 1) ; Bahá'í calendar doesn't apply (increment-calendar-month m y (- 10 month)) (if (> m 7) ; Bahá'í date might be visible (let ((date (calendar-gregorian-from-absolute @@ -314,8 +313,7 @@ (m (extract-calendar-month bahai-date)) (y (extract-calendar-year bahai-date)) (date)) - (if (< m 1) - nil ; Bahá'í calendar doesn't apply + (unless (< m 1) ; Bahá'í calendar doesn't apply (increment-calendar-month m y (- 10 month)) (if (> m 7) ; Bahá'í date might be visible (let ((date (calendar-gregorian-from-absolute