Function: eshell-external-command-p

eshell-external-command-p is a byte-compiled function defined in em-cmpl.el.gz.

Signature

(eshell-external-command-p COMMAND)

Documentation

Whether an external command shall be called.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-cmpl.el.gz
;; Code stolen from `eshell-plain-command'.
(defun eshell-external-command-p (command)
  "Whether an external command shall be called."
  (let* ((esym (eshell-find-alias-function command))
	 (sym (or esym (intern-soft command))))
    (not (and sym (fboundp sym)
	      (or esym eshell-prefer-lisp-functions
		  (not (eshell-search-path command)))))))