# HG changeset patch # User Carsten Dominik # Date 938167448 0 # Node ID efe07431a7bafc2d40abd5ea2f11c4527870ec69 # Parent 8ae20ae6b8d2b77f49d684934235d824671aa20a (reftex-view-cr-cite): Deal with multiple thebibliography environments. diff -r 8ae20ae6b8d2 -r efe07431a7ba lisp/textmodes/reftex-vcr.el --- 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)))