Function: eshell-command-to-value
eshell-command-to-value is a macro defined in esh-cmd.el.gz.
Signature
(eshell-command-to-value OBJECT)
Documentation
Run OBJECT synchronously, returning its result as a string.
Returns a string comprising the output from the command.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/esh-cmd.el.gz
(defmacro eshell-command-to-value (object)
"Run OBJECT synchronously, returning its result as a string.
Returns a string comprising the output from the command."
`(let ((value (make-symbol "eshell-temp"))
(eshell-in-pipeline-p nil))
(eshell-do-command-to-value ,object)))