From: Carsten Dominik Date: Fri, 24 Sep 1999 10:04:08 +0000 (+0000) Subject: (reftex-view-cr-cite): Deal with multiple thebibliography environments. X-Git-Tag: emacs-pretest-21.0.90~6637 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=24d66fcce9f3099f1b847b7b4038813ce25c9cfb;p=emacs.git (reftex-view-cr-cite): Deal with multiple thebibliography environments. --- diff --git a/lisp/textmodes/reftex-vcr.el b/lisp/textmodes/reftex-vcr.el index d8b1637c3da..65442bb5931 100644 --- a/lisp/textmodes/reftex-vcr.el +++ b/lisp/textmodes/reftex-vcr.el @@ -1,5 +1,5 @@ ;;; reftex-vcr.el - Viewing cross references and citations with RefTeX -;;; Version: 4.5 +;;; Version: 4.6 ;;; ;;; See main file reftex.el for licensing information @@ -99,8 +99,10 @@ to the functions `reftex-view-cr-cite' and `reftex-view-cr-ref'." files (reftex-get-bibfile-list))) ((assq 'thebib (symbol-value reftex-docstruct-symbol)) (setq item t - files (list (cdr (assq 'thebib - (symbol-value reftex-docstruct-symbol)))))) + files (reftex-uniquify + (mapcar 'cdr + (reftex-all-assq + 'thebib (symbol-value reftex-docstruct-symbol)))))) (reftex-default-bibliography (setq item nil files (reftex-default-bibliography)))