auctex-diffs
[Top][All Lists]
Advanced

[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, 16 Oct 2010 15:27:13 +0000

CVSROOT:        /sources/auctex
Module name:    reftex
Changes by:     Ralf Angeli <angeli>    10/10/16 15:27:13

Index: reftex-cite.el
===================================================================
RCS file: /sources/auctex/reftex/lisp/reftex-cite.el,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- reftex-cite.el      14 Sep 2010 18:04:11 -0000      1.55
+++ reftex-cite.el      16 Oct 2010 15:27:13 -0000      1.56
@@ -364,8 +364,8 @@
         (error "No such file %s" file))
       (message "Scanning thebibliography environment in %s" file)
 
+      (with-current-buffer buf
       (save-excursion
-        (set-buffer buf)
         (save-restriction
           (widen)
           (goto-char (point-min))
@@ -384,10 +384,11 @@
                       (mapcar 'reftex-parse-bibitem
                         (delete ""
                                 (split-string
-                                 (buffer-substring-no-properties start end)
-                                 "[ \t\n\r]*\\\\bibitem[ \t]*\\(\\[[^]]*]\\)*\
-\[ \t]*"))))))
-            (goto-char end)))))
+                                              (buffer-substring-no-properties
+                                               start end)
+                                              "[ \t\n\r]*\\\\bibitem\[ \t]*\
+\\(\\[[^]]*]\\)*\[ \t]*"))))))
+             (goto-char end))))))
     (unless entries
       (error "No bibitems found"))
 



reply via email to

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