Function: eshell-do-command-to-value

eshell-do-command-to-value is a macro defined in esh-cmd.el.gz.

Signature

(eshell-do-command-to-value OBJECT)

Documentation

Run a subcommand prepared by eshell-command-to-value.

This avoids the need to use let*.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-cmd.el.gz
(defmacro eshell-do-command-to-value (object)
  "Run a subcommand prepared by `eshell-command-to-value'.
This avoids the need to use `let*'."
  `(let ((eshell-current-handles
	  (eshell-create-handles value 'overwrite)))
     (progn
       ,object
       (symbol-value value))))