# HG changeset patch # User Glenn Morris # Date 1204950199 0 # Node ID 6f4bd17c2adc67e635163736aebc41572f1d4483 # Parent 733bd38ed2dd3de0e281da349a3e7a8611b7927b (mark-islamic-calendar-date-pattern): Use zerop. Comments. diff -r 733bd38ed2dd -r 6f4bd17c2adc lisp/calendar/cal-islam.el --- a/lisp/calendar/cal-islam.el Sat Mar 08 04:21:48 2008 +0000 +++ b/lisp/calendar/cal-islam.el Sat Mar 08 04:23:19 2008 +0000 @@ -1,7 +1,7 @@ ;;; cal-islam.el --- calendar functions for the Islamic 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: Edward M. Reingold ;; Maintainer: Glenn Morris @@ -402,8 +402,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 Islamic date. (let ((date (calendar-gregorian-from-absolute (calendar-absolute-from-islamic