mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 03:13:24 +00:00
; * lisp/files.el (executable-find): Doc fix.
This commit is contained in:
parent
2029104605
commit
a6abb88fdc
1 changed files with 3 additions and 3 deletions
|
@ -1286,9 +1286,9 @@ the value of the variable `exec-path'."
|
||||||
|
|
||||||
(defun executable-find (command &optional remote)
|
(defun executable-find (command &optional remote)
|
||||||
"Search for COMMAND in `exec-path' and return the absolute file name.
|
"Search for COMMAND in `exec-path' and return the absolute file name.
|
||||||
Return nil if COMMAND is not found anywhere in `exec-path'. If
|
Return nil if COMMAND is not found anywhere in `exec-path'.
|
||||||
REMOTE is non-nil, search on the remote host indicated by
|
If REMOTE is non-nil, search on a remote host if `default-directory' is
|
||||||
`default-directory' instead."
|
remote, otherwise search locally."
|
||||||
(if (and remote (file-remote-p default-directory))
|
(if (and remote (file-remote-p default-directory))
|
||||||
(let ((res (locate-file
|
(let ((res (locate-file
|
||||||
command
|
command
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue