[gnus git] branch master updated: n0-13-136-g586f35b =1= Use assoc instead of assoc-string to avoid warning on XEmacs.

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  586f35bdde164965e6b3d613db995010b9dc7e4e (commit)
      from  302ab3d869fb144f6eb03efbdf1604caac8d2b10 (commit)


- Log -----------------------------------------------------------------
commit 586f35bdde164965e6b3d613db995010b9dc7e4e
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Thu Mar 17 20:18:13 2011 +0100

    Use assoc instead of assoc-string to avoid warning on XEmacs.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index eb488b8..8055dc0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
 2011-03-17  Lars Magne Ingebrigtsen  <[email protected]>
 
+	* time-date.el (format-seconds): Use assoc instead of assoc-string to
+	avoid warning on XEmacs.
+
 	* dgnushack.el: Bind help-echo-owns-message to avoid a compiler warning
 	on XEmacs.
 
diff --git a/lisp/time-date.el b/lisp/time-date.el
index 3e59534..6220360 100644
--- a/lisp/time-date.el
+++ b/lisp/time-date.el
@@ -310,7 +310,7 @@ This function does not work for SECONDS greater than `most-positive-fixnum'."
       (unless (string-equal spec "%")
         (or (setq match (assoc (downcase spec) units))
             (error "Bad format specifier: `%s'" spec))
-        (if (assoc-string spec usedunits t)
+        (if (assoc (downcase spec) usedunits)
             (error "Multiple instances of specifier: `%s'" spec))
         (if (string-equal (car match) "z")
             (setq zeroflag t)

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog    |    3 +++
 lisp/time-date.el |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.