116 |
(put 'reftex-auto-view-crossref 'last-window-conf |
(put 'reftex-auto-view-crossref 'last-window-conf |
117 |
(current-window-configuration))) |
(current-window-configuration))) |
118 |
|
|
119 |
(let (files size item (pos (point)) (win (selected-window)) pop-win) |
(let (files size item (pos (point)) (win (selected-window)) pop-win |
120 |
|
(bibtype (reftex-bib-or-thebib))) |
121 |
;; Find the citation mode and the file list |
;; Find the citation mode and the file list |
122 |
(cond |
(cond |
123 |
((assq 'bib (symbol-value reftex-docstruct-symbol)) |
; ((assq 'bib (symbol-value reftex-docstruct-symbol)) |
124 |
|
((eq bibtype 'bib) |
125 |
(setq item nil |
(setq item nil |
126 |
files (reftex-get-bibfile-list))) |
files (reftex-get-bibfile-list))) |
127 |
((assq 'thebib (symbol-value reftex-docstruct-symbol)) |
; ((assq 'thebib (symbol-value reftex-docstruct-symbol)) |
128 |
|
((eq bibtype 'thebib) |
129 |
(setq item t |
(setq item t |
130 |
files (reftex-uniquify |
files (reftex-uniquify |
131 |
(mapcar 'cdr |
(mapcar 'cdr |