From ba96ddf511d4c853127d3432d17adb32626c8419 Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Tue, 14 Sep 2010 06:01:14 +0000 Subject: [PATCH] time-date.el (format-seconds): Comment fix. --- lisp/ChangeLog | 4 ++++ lisp/calendar/time-date.el | 8 ++++---- 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 + + * 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) -- 2.39.5