changeset 17700:d28dbbfabfb1

(assoc-ignore-case): Function deleted. (bibtex-member-of-regexp): Renamed from member-of-regexp. Call changed.
author Richard M. Stallman <rms@gnu.org>
date Thu, 08 May 1997 06:02:42 +0000
parents b2629af2145e
children 1240e27fbb13
files lisp/textmodes/bibtex.el
diffstat 1 files changed, 2 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/bibtex.el	Thu May 08 05:51:48 1997 +0000
+++ b/lisp/textmodes/bibtex.el	Thu May 08 06:02:42 1997 +0000
@@ -782,19 +782,7 @@
 
 ;; Helper Functions
 
-(defun assoc-ignore-case (string alist)
-  ;; Return non-nil if STRING is `equal' to the car of an element of
-  ;; LIST. Comparison is done with case ignored. The value is actually
-  ;; the element of LIST whose car is `equal' to STRING.
-  (or (assoc string alist)
-      (while (and alist
-		  (not (string-equal
-                        (downcase string)
-                        (downcase (car (car alist))))))
-	(setq alist (cdr alist)))
-      (car alist)))
-
-(defun member-of-regexp (string list)
+(defun bibtex-member-of-regexp (string list)
   ;; Return non-nil if STRING is exactly matched by an element of
   ;; LIST. This function is influenced by the actual value of
   ;; `case-fold-search'. The value is actually the tail of LIST whose
@@ -1230,7 +1218,7 @@
                           (< counter bibtex-autokey-titlewords))
                          (if (and
                               first
-                              (member-of-regexp
+                              (bibtex-member-of-regexp
                                titleword
                                bibtex-autokey-titleword-first-ignore))
                              (setq counter -1)