# HG changeset patch # User Richard M. Stallman # Date 863071362 0 # Node ID d28dbbfabfb1bd75d311e9455fe894a90d222a04 # Parent b2629af2145e9f5ddb96eba72cf44117f9590146 (assoc-ignore-case): Function deleted. (bibtex-member-of-regexp): Renamed from member-of-regexp. Call changed. diff -r b2629af2145e -r d28dbbfabfb1 lisp/textmodes/bibtex.el --- 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)