auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] Changes to auctex/tex-buf.el,v


From: Ralf Angeli
Subject: [AUCTeX-diffs] Changes to auctex/tex-buf.el,v
Date: Wed, 08 Aug 2007 17:45:53 +0000

CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    07/08/08 17:45:53

Index: tex-buf.el
===================================================================
RCS file: /cvsroot/auctex/auctex/tex-buf.el,v
retrieving revision 1.261
retrieving revision 1.262
diff -u -b -r1.261 -r1.262
--- tex-buf.el  10 Jul 2007 21:05:07 -0000      1.261
+++ tex-buf.el  8 Aug 2007 17:45:52 -0000       1.262
@@ -836,10 +836,13 @@
 Return nil ifs no errors were found."
   (save-excursion
     (goto-char (point-max))
-    (if (re-search-backward "^Output written on \\(.*\\) (\\([0-9]+\\) page"
+    (if (re-search-backward "^Output written on \\(.*?\\) (\\([0-9]+\\) page"
                            nil t)
        (let ((output-file (TeX-match-buffer 1)))
          (setq TeX-current-page (concat "{" (TeX-match-buffer 2) "}"))
+         ;; Shave off quotation marks if present.
+         (when (string-match "\\`\"\\(.*\\)\"\\'" output-file)
+           (setq output-file (match-string 1 output-file)))
          (setq TeX-output-extension
                (if (string-match "\\.\\([^.]*\\)$" output-file)
                    (match-string 1 output-file)




reply via email to

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