Don't bug out if the LIST command doesn't have any parameters.
[gnus] / lisp / time-date.el
index e5edb0c..6429350 100644 (file)
@@ -317,10 +317,10 @@ This function does not work for SECONDS greater than `most-positive-fixnum'."
       (setq start (match-end 0)
             spec (match-string 1 string))
       (unless (string-equal spec "%")
-       ;; `assoc-string' is not available in Emacs 21.  So when compiling
-       ;; Gnus (`time-date.el' is part of Gnus) with Emacs 21, we get a
-       ;; warning here.  But `format-seconds' is not used anywhere in Gnus so
-       ;; it's not a real problem. --rsteib
+       ;; `assoc-string' is not available in XEmacs or Emacs 21.  So when
+       ;; compiling Gnus (`time-date.el' is part of Gnus) with XEmacs or
+       ;; Emacs 21, we get a warning here.  But `format-seconds' is not
+       ;; used anywhere in Gnus so it's not a real problem. --rsteib
         (or (setq match (assoc-string spec units t))
             (error "Bad format specifier: `%s'" spec))
         (if (assoc-string spec usedunits t)