Function: tramp-sh-handle-exec-path
tramp-sh-handle-exec-path is a byte-compiled function defined in
tramp-sh.el.gz.
Signature
(tramp-sh-handle-exec-path)
Documentation
Like exec-path(var)/exec-path(fun) for Tramp files.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
(defun tramp-sh-handle-exec-path ()
"Like `exec-path' for Tramp files."
(append
(tramp-get-remote-path (tramp-dissect-file-name default-directory))
;; The equivalent to `exec-directory'.
`(,(tramp-file-local-name (expand-file-name default-directory)))))