[gnus git] branch master updated: n0-17-332-g1097cc6 =1= * gnus-xmas.el (gnus-xmas-define): Add `member-ignore-case'.

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  1097cc612b25ecfecfd662db7b7e1caed72f02cc (commit)
      from  ba76b0a82ee9051e8b01c4c6f131acce0a9c5a71 (commit)


- Log -----------------------------------------------------------------
commit 1097cc612b25ecfecfd662db7b7e1caed72f02cc
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Tue Sep 27 00:10:52 2011 +0200

    * gnus-xmas.el (gnus-xmas-define): Add `member-ignore-case'.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 14d9bff..5bdbf8e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
 2011-09-26  Lars Magne Ingebrigtsen  <[email protected]>
 
+	* gnus-xmas.el (gnus-xmas-define): Add `member-ignore-case'.
+
 	* nnimap.el (nnimap-wait-for-response): Message less (bug#9540).
 	(nnimap-insert-partial-structure): The charset parameter isn't
 	case-sensitive.
diff --git a/lisp/gnus-xmas.el b/lisp/gnus-xmas.el
index a2f4d7d..c350606 100644
--- a/lisp/gnus-xmas.el
+++ b/lisp/gnus-xmas.el
@@ -427,6 +427,15 @@ FRONT-ADVANCE and REAR-ADVANCE are ignored."
   (defalias 'gnus-window-edges 'window-pixel-edges)
   (defalias 'gnus-assq-delete-all 'gnus-xmas-assq-delete-all)
 
+  (unless (fboundp 'member-ignore-case)
+    (defun member-ignore-case (elt list)
+      (while (and list
+		  (not (and (stringp (car list))
+			    (eq t (compare-strings elt 0 nil (car list)
+						   0 nil t)))))
+	(setq list (cdr list)))
+      list))
+
   (unless (boundp 'standard-display-table)
     (setq standard-display-table nil))
 

-----------------------------------------------------------------------
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    |    2 ++
 lisp/gnus-xmas.el |    9 +++++++++
 2 files changed, 11 insertions(+), 0 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.