From d18d026192514813ccd99961cd5e1e48fbe416da Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 8 Mar 2008 04:23:19 +0000 Subject: [PATCH] (mark-islamic-calendar-date-pattern): Use zerop. Comments. --- lisp/calendar/cal-islam.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/calendar/cal-islam.el b/lisp/calendar/cal-islam.el index b05f44868a8..6a2738f39f7 100644 --- a/lisp/calendar/cal-islam.el +++ b/lisp/calendar/cal-islam.el @@ -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 @@ provided for use as part of the nongregorian-diary-marking-hook." 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 -- 2.39.2