Function: eshell-rewrite-initial-subcommand
eshell-rewrite-initial-subcommand is a byte-compiled function defined
in esh-cmd.el.gz.
Signature
(eshell-rewrite-initial-subcommand TERMS)
Documentation
Rewrite a subcommand in initial position, such as {+ 1 2}.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/esh-cmd.el.gz
(defun eshell-rewrite-initial-subcommand (terms)
"Rewrite a subcommand in initial position, such as `{+ 1 2}'."
(if (and (listp (car terms))
(eq (caar terms) 'eshell-as-subcommand))
(car terms)))