auctex-diffs
[Top][All Lists]
Advanced

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

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


From: Ralf Angeli
Subject: [AUCTeX-diffs] Changes to auctex/tex.el,v
Date: Sun, 23 Nov 2008 20:13:23 +0000

CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    08/11/23 20:13:23

Index: tex.el
===================================================================
RCS file: /cvsroot/auctex/auctex/tex.el,v
retrieving revision 5.635
retrieving revision 5.636
diff -u -b -r5.635 -r5.636
--- tex.el      26 Oct 2008 17:50:58 -0000      5.635
+++ tex.el      23 Nov 2008 20:13:22 -0000      5.636
@@ -1064,10 +1064,10 @@
   "Determine which method is available for forward and inverse search."
   (let ((help (condition-case nil
                  (with-output-to-string
-                   (call-process "latex" nil (list standard-output nil) nil
-                                 "--help"))
+                   (call-process LaTeX-command
+                                 nil (list standard-output nil) nil "--help"))
                (error ""))))
-    (if (string-match "^-synctex" help)
+    (if (string-match "^[ ]*-synctex" help)
        'synctex
       'source-specials)))
 




reply via email to

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