Function: TeX-source-correlate-determine-method
TeX-source-correlate-determine-method is a byte-compiled function
defined in tex.el.
Signature
(TeX-source-correlate-determine-method)
Documentation
Determine which method is available for forward and inverse search.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-source-correlate-determine-method ()
"Determine which method is available for forward and inverse search."
(let ((help (condition-case nil
(with-output-to-string
(call-process LaTeX-command
nil (list standard-output nil) nil "--help"))
(error ""))))
(if (string-match "^[ ]*-?-synctex" help)
'synctex
'source-specials)))