Function: TeX-source-specials-view-expand-client
TeX-source-specials-view-expand-client is a byte-compiled function
defined in tex.el.
Signature
(TeX-source-specials-view-expand-client)
Documentation
Return gnuclient or emacslient executable with options.
Return the full path to the executable if possible.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
;; FIXME: Make client binaries configurable.
(defun TeX-source-specials-view-expand-client ()
"Return gnuclient or emacslient executable with options.
Return the full path to the executable if possible."
(let* ((gnuserv-p (TeX-source-correlate-gnuserv-p))
(client-base (if gnuserv-p
"gnuclient"
"emacsclient"))
(client-full (and invocation-directory
(expand-file-name client-base
invocation-directory)))
(options (if gnuserv-p
TeX-source-specials-view-gnuclient-flags
TeX-source-specials-view-emacsclient-flags)))
(if (and client-full (file-executable-p client-full))
(concat client-full " " options)
(concat client-base " " options))))