CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    08/07/19 20:54:28

Index: tex.el
===================================================================
RCS file: /cvsroot/auctex/auctex/tex.el,v
retrieving revision 5.623
retrieving revision 5.624
diff -u -b -r5.623 -r5.624
--- tex.el      14 Jul 2008 20:31:25 -0000      5.623
+++ tex.el      19 Jul 2008 20:54:27 -0000      5.624
@@ -1008,9 +1008,11 @@
 
 (defun TeX-source-correlate-determine-method ()
   "Determine which method is available for forward and inverse search."
-  (let ((help (with-output-to-string
+  (let ((help (condition-case nil
+                 (with-output-to-string
                (call-process "latex" nil (list standard-output nil) nil
-                             "--help"))))
+                                 "--help"))
+               (error ""))))
     (if (string-match "^-synctex" help)
        'synctex
       'source-specials)))


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

Reply via email to