From: Glenn Morris Date: Sat, 15 Mar 2008 02:55:25 +0000 (+0000) Subject: (parse-time-string): Simplify. X-Git-Tag: emacs-pretest-23.0.90~7133 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1fa570afc57c601f82769ce38cdef16d4d5a0c87;p=emacs.git (parse-time-string): Simplify. --- diff --git a/lisp/calendar/parse-time.el b/lisp/calendar/parse-time.el index 036f32f46f2..6531d3b19c1 100644 --- a/lisp/calendar/parse-time.el +++ b/lisp/calendar/parse-time.el @@ -1,7 +1,7 @@ ;;; parse-time.el --- parsing time strings -;; Copyright (C) 1996, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 -;; Free Software Foundation, Inc. +;; Copyright (C) 1996, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, +;; 2008 Free Software Foundation, Inc. ;; Author: Erik Naggum ;; Keywords: util @@ -187,7 +187,7 @@ unknown are returned as nil." (let ((parse-time-elt (pop temp)) (rules parse-time-rules) (exit nil)) - (while (and (not (null rules)) (not exit)) + (while (and rules (not exit)) (let* ((rule (pop rules)) (slots (pop rule)) (predicate (pop rule))