# HG changeset patch # User Katsumi Yamaoka # Date 1285132754 0 # Node ID eb4a332b45f57c9be305e53b03c38549f9968772 # Parent 1bd5072b2384982c80281a59e1ffb15882b9f61e calendar/time-date.el (format-seconds): Comment fix. diff -r 1bd5072b2384 -r eb4a332b45f5 lisp/ChangeLog --- a/lisp/ChangeLog Tue Sep 21 20:31:30 2010 -0700 +++ b/lisp/ChangeLog Wed Sep 22 05:19:14 2010 +0000 @@ -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 -r 1bd5072b2384 -r eb4a332b45f5 lisp/calendar/time-date.el --- a/lisp/calendar/time-date.el Tue Sep 21 20:31:30 2010 -0700 +++ b/lisp/calendar/time-date.el Wed Sep 22 05:19:14 2010 +0000 @@ -317,10 +317,10 @@ (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)