Function: eshell-eval-argument

eshell-eval-argument is a byte-compiled function defined in esh-cmd.el.gz.

Signature

(eshell-eval-argument ARGUMENT)

Documentation

Evaluate a single Eshell ARGUMENT and return the result.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-cmd.el.gz
(defun eshell-eval-argument (argument)
  "Evaluate a single Eshell ARGUMENT and return the result."
  (let* ((form (eshell-with-temp-command argument
                 (eshell-parse-argument)))
         (result (eshell-do-eval form t)))
    (cl-assert (eq (car result) 'quote))
    (cadr result)))