summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatsumi Yamaoka <yamaoka@jpl.org>2010-09-14 06:01:14 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2010-09-14 06:01:14 +0000
commitba96ddf511d4c853127d3432d17adb32626c8419 (patch)
tree472d1e5194fedb3167d9bfeb981dee42756140fc
parentdff99050cfa74a2c7999002d25d2ce48b7a93749 (diff)
downloademacs-ba96ddf511d4c853127d3432d17adb32626c8419.tar.gz
time-date.el (format-seconds): Comment fix.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/calendar/time-date.el8
2 files changed, 8 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 31de63c630e..52ba1f89303 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * calendar/time-date.el (format-seconds): Comment fix.
+
2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
* progmodes/sql.el: Version 2.7.
diff --git a/lisp/calendar/time-date.el b/lisp/calendar/time-date.el
index d99d13e431d..bfb85e2cd73 100644
--- a/lisp/calendar/time-date.el
+++ b/lisp/calendar/time-date.el
@@ -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)