Function: eshell-lone-directory-p
eshell-lone-directory-p is a byte-compiled function defined in
em-dirs.el.gz.
Signature
(eshell-lone-directory-p FILE)
Documentation
Test whether FILE is just a directory name, and not a command name.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/em-dirs.el.gz
(defun eshell-lone-directory-p (file)
"Test whether FILE is just a directory name, and not a command name."
(and (file-directory-p file)
(or (file-name-directory file)
(not (eshell-search-path file)))))