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