CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    10/10/11 16:33:35

Index: tex.el
===================================================================
RCS file: /cvsroot/auctex/auctex/tex.el,v
retrieving revision 5.668
retrieving revision 5.669
diff -u -b -r5.668 -r5.669
--- tex.el      4 Jul 2010 13:38:39 -0000       5.668
+++ tex.el      11 Oct 2010 16:33:35 -0000      5.669
@@ -1555,8 +1555,9 @@
                                       (file-name-directory
                                        (TeX-active-master))))
                         "-o" (TeX-active-master (TeX-output-extension))))))
-    (when (string-match "Page:\\([0-9]+\\)" synctex-output)
-      (match-string 1 synctex-output))))
+    (if (string-match "Page:\\([0-9]+\\)" synctex-output)
+       (match-string 1 synctex-output)
+      "1")))
 
 ;;; Miscellaneous minor modes
 

_______________________________________________
auctex-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to