From: Katsumi Yamaoka Date: Tue, 14 Sep 2010 06:01:14 +0000 (+0000) Subject: time-date.el (format-seconds): Comment fix. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~47^2~119^2~13 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ba96ddf511d4c853127d3432d17adb32626c8419;p=emacs.git time-date.el (format-seconds): Comment fix. --- 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 + + * calendar/time-date.el (format-seconds): Comment fix. + 2010-09-13 Michael R. Mauger * 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)