calendar/time-date.el (format-seconds): Comment fix.

This commit is contained in:
Katsumi Yamaoka 2010-09-22 05:19:14 +00:00
parent cd205c7615
commit 1bf68d5367
2 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,7 @@
2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
* calendar/time-date.el (format-seconds): Comment fix.
2010-09-22 Glenn Morris <rgm@gnu.org>
* emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'

View 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 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
;; `assoc-string' is not available in XEmacs. So when compiling
;; Gnus (`time-date.el' is part of Gnus) with XEmacs, 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)