Function: eshell--find-plain-lisp-command

eshell--find-plain-lisp-command is a byte-compiled function defined in esh-cmd.el.gz.

Signature

(eshell--find-plain-lisp-command COMMAND)

Documentation

Look for eshell/COMMAND and return it when COMMAND should use it.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-cmd.el.gz
(defun eshell--find-plain-lisp-command (command)
  "Look for `eshell/COMMAND' and return it when COMMAND should use it."
  (let* ((esym (eshell-find-alias-function command))
         (sym (or esym (intern-soft command))))
    (when (and sym (fboundp sym)
               (or esym eshell-prefer-lisp-functions
                   (not (eshell-search-path command))))
      sym)))