summaryrefslogtreecommitdiff
path: root/lisp/calendar/parse-time.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-03-15 02:55:25 +0000
committerGlenn Morris <rgm@gnu.org>2008-03-15 02:55:25 +0000
commit1fa570afc57c601f82769ce38cdef16d4d5a0c87 (patch)
tree18195a286ae86e84a58f817ed6955c127fc32147 /lisp/calendar/parse-time.el
parent48dc6f9fd27f5dab4aa6a1b432094292f318f558 (diff)
downloademacs-1fa570afc57c601f82769ce38cdef16d4d5a0c87.tar.gz
(parse-time-string): Simplify.
Diffstat (limited to 'lisp/calendar/parse-time.el')
-rw-r--r--lisp/calendar/parse-time.el6
1 files changed, 3 insertions, 3 deletions
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 <erik@naggum.no>
;; 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))