Function: php-ts-mode--executable
php-ts-mode--executable is a byte-compiled function defined in
php-ts-mode.el.gz.
Signature
(php-ts-mode--executable)
Documentation
Return the absolute filename of the php executable.
If the default-directory is remote, search on a remote host, otherwise
it searches locally. If php-ts-mode-alternative-php-program-name is
non-nil, it searches for this program instead of the usual php.
If the search fails, it returns php-ts-mode-php-default-executable.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/php-ts-mode.el.gz
;;; Utils
(defun php-ts-mode--executable ()
"Return the absolute filename of the php executable.
If the `default-directory' is remote, search on a remote host, otherwise
it searches locally. If `php-ts-mode-alternative-php-program-name' is
non-nil, it searches for this program instead of the usual `php'.
If the search fails, it returns `php-ts-mode-php-default-executable'."
(or (executable-find
(or php-ts-mode-alternative-php-program-name "php") t)
php-ts-mode-php-default-executable))