auctex-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-commit] Changes to reftex/lisp/reftex-cite.el,v


From: Ralf Angeli
Subject: [AUCTeX-commit] Changes to reftex/lisp/reftex-cite.el,v
Date: Sun, 25 Feb 2007 16:33:19 +0000

CVSROOT:        /sources/auctex
Module name:    reftex
Changes by:     Ralf Angeli <angeli>    07/02/25 16:33:18

Index: reftex-cite.el
===================================================================
RCS file: /sources/auctex/reftex/lisp/reftex-cite.el,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -b -r1.39 -r1.40
--- reftex-cite.el      25 Feb 2007 12:01:49 -0000      1.39
+++ reftex-cite.el      25 Feb 2007 16:33:18 -0000      1.40
@@ -471,7 +471,8 @@
                   (list
                    (cons "&type" (downcase (reftex-match-string 1)))
                    (cons "&key"  (reftex-match-string 2)))))
-        (while (re-search-forward "\\(\\w+\\)[ \t\n\r]*=[ \t\n\r]*" nil t)
+        (while (re-search-forward "\\(\\(:?\\w\\|-\\)+\\)[ \t\n\r]*=[ \t\n\r]*"
+                                 nil t)
           (setq key (downcase (reftex-match-string 1)))
           (cond
            ((= (following-char) ?{)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]