Function: eshell-apply

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

Signature

(eshell-apply FUNC ARGS)

Documentation

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

PRINTER and ERRPRINT are functions to use for printing regular messages, and errors.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-cmd.el.gz
(defsubst eshell-apply (func args)
  "Call FUNC, with ARGS, trapping errors and return them as output.
PRINTER and ERRPRINT are functions to use for printing regular
messages, and errors."
  (eshell-apply* 'eshell-print 'eshell-error func args))