[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to reftex/lisp/reftex-cite.el,v
From: |
Ralf Angeli |
Subject: |
[AUCTeX-diffs] Changes to reftex/lisp/reftex-cite.el,v |
Date: |
Sat, 07 Jun 2008 12:18:22 +0000 |
CVSROOT: /sources/auctex
Module name: reftex
Changes by: Ralf Angeli <angeli> 08/06/07 12:18:22
Index: reftex-cite.el
===================================================================
RCS file: /sources/auctex/reftex/lisp/reftex-cite.el,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- reftex-cite.el 7 Jun 2008 12:10:38 -0000 1.51
+++ reftex-cite.el 7 Jun 2008 12:18:21 -0000 1.52
@@ -1160,8 +1160,7 @@
(defun reftex-get-string-refs (alist)
"Return a list of BibTeX @string references that appear as values in ALIST."
- (reftex-remove-if (lambda (x) (or (string-match "^[\"{]" x)
- (string-match "^[0-9]+$" x)))
+ (reftex-remove-if (lambda (x) (string-match "^\\([\"{]\\|[0-9]+$\\)" x))
;; get list of values, discard keys
(mapcar 'cdr
;; remove &key and &type entries