# HG changeset patch # User Glenn Morris # Date 1204950264 0 # Node ID 297952467e3481ddec6004b60af9474bc178c739 # Parent 6f4bd17c2adc67e635163736aebc41572f1d4483 (mark-hebrew-calendar-date-pattern): Use zerop. diff -r 6f4bd17c2adc -r 297952467e34 lisp/calendar/cal-hebrew.el --- a/lisp/calendar/cal-hebrew.el Sat Mar 08 04:23:19 2008 +0000 +++ b/lisp/calendar/cal-hebrew.el Sat Mar 08 04:24:24 2008 +0000 @@ -1,7 +1,7 @@ ;;; cal-hebrew.el --- calendar functions for the Hebrew calendar -;; Copyright (C) 1995, 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 -;; Free Software Foundation, Inc. +;; Copyright (C) 1995, 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007, +;; 2008 Free Software Foundation, Inc. ;; Author: Nachum Dershowitz ;; Edward M. Reingold @@ -599,8 +599,8 @@ A value of 0 in any position is a wildcard." (save-excursion (set-buffer calendar-buffer) - (if (and (/= 0 month) (/= 0 day)) - (if (/= 0 year) + (if (and (not (zerop month)) (not (zerop day))) + (if (not (zerop year)) ;; Fully specified Hebrew date. (let ((date (calendar-gregorian-from-absolute (calendar-absolute-from-hebrew