From 1bf68d5367c15a146157ad36f5b81f3801a32b3d Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Wed, 22 Sep 2010 05:19:14 +0000 Subject: [PATCH] calendar/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 8bce44fc89d..11b46901563 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-09-22 Katsumi Yamaoka + + * calendar/time-date.el (format-seconds): Comment fix. + 2010-09-22 Glenn Morris * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function' diff --git a/lisp/calendar/time-date.el b/lisp/calendar/time-date.el index bfb85e2cd73..7a0cafea80f 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 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) -- 2.39.2