Function: reftex-restrict-bib-matches
reftex-restrict-bib-matches is a byte-compiled function defined in
reftex-cite.el.gz.
Signature
(reftex-restrict-bib-matches FOUND-LIST)
Documentation
Limit FOUND-LIST with more regular expressions.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/reftex-cite.el.gz
(defun reftex-restrict-bib-matches (found-list)
"Limit FOUND-LIST with more regular expressions."
(let ((re-list (split-string (read-string
"RegExp [ && RegExp...]: "
nil 'reftex-cite-regexp-hist)
"[ \t]*&&[ \t]*"))
(found-list-r found-list)
re)
(while (setq re (pop re-list))
(setq found-list-r
(delq nil
(mapcar
(lambda (x)
(if (string-match
re (cdr (assoc "&entry" x)))
x
nil))
found-list-r))))
(if found-list-r
found-list-r
(ding)
found-list)))