From 24d66fcce9f3099f1b847b7b4038813ce25c9cfb Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Fri, 24 Sep 1999 10:04:08 +0000 Subject: [PATCH] (reftex-view-cr-cite): Deal with multiple thebibliography environments. --- lisp/textmodes/reftex-vcr.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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))) -- 2.39.5