Mercurial > emacs
diff lisp/calendar/time-date.el @ 110330:b68d97301050
time-date.el (format-seconds): Comment fix.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Tue, 14 Sep 2010 06:01:14 +0000 |
parents | 8d09094063d0 |
children | eb4a332b45f5 |
line wrap: on
line diff
--- a/lisp/calendar/time-date.el Tue Sep 14 03:40:10 2010 +0000 +++ b/lisp/calendar/time-date.el Tue Sep 14 06:01:14 2010 +0000 @@ -317,10 +317,10 @@ (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)