Function: eshell-funcall

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

Signature

(eshell-funcall FUNC &rest ARGS)

Documentation

Call FUNC, with ARGS, trapping errors and return them as output.

Print the result using eshell-print; if an error occurs, print it via eshell-error.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-cmd.el.gz
(defsubst eshell-funcall (func &rest args)
  "Call FUNC, with ARGS, trapping errors and return them as output.
Print the result using `eshell-print'; if an error occurs, print
it via `eshell-error'."
  (eshell-apply func args))