changeset 25805:efe07431a7ba

(reftex-view-cr-cite): Deal with multiple thebibliography environments.
author Carsten Dominik <dominik@science.uva.nl>
date Fri, 24 Sep 1999 10:04:08 +0000
parents 8ae20ae6b8d2
children 7ed67319c5aa
files lisp/textmodes/reftex-vcr.el
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/reftex-vcr.el	Fri Sep 24 10:03:11 1999 +0000
+++ b/lisp/textmodes/reftex-vcr.el	Fri Sep 24 10:04:08 1999 +0000
@@ -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 @@
 	    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)))