Function: eshell-invoke-directly

eshell-invoke-directly is a byte-compiled function defined in esh-cmd.el.gz.

Signature

(eshell-invoke-directly COMMAND)

Documentation

Determine whether the given COMMAND can be invoked directly.

COMMAND should be a top-level Eshell command in parsed form, as produced by eshell-parse-command.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-cmd.el.gz
(defun eshell-invoke-directly (command)
  "Determine whether the given COMMAND can be invoked directly.
COMMAND should be a top-level Eshell command in parsed form, as
produced by `eshell-parse-command'."
  (let ((base (cadr (nth 2 (nth 2 (cadr command))))))
    (eshell--invoke-command-directly base)))