Function: eshell-applyn

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

Signature

(eshell-applyn FUNC ARGS)

Documentation

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

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

Source Code

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