Function: eshell/make
eshell/make is a byte-compiled function defined in em-unix.el.gz.
Signature
(eshell/make &rest ARGS)
Documentation
Use compile to do background makes.
Fallback to standard make when called synchronously.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/em-unix.el.gz
;; special front-end functions for compilation-mode buffers
(defun eshell/make (&rest args)
"Use `compile' to do background makes.
Fallback to standard make when called synchronously."
(if (and eshell-current-subjob-p
(eshell-interactive-output-p))
(let ((compilation-process-setup-function
(list 'lambda nil
(list 'setq 'process-environment
(list 'quote (eshell-copy-environment))))))
(compile (concat "make " (eshell-flatten-and-stringify args))))
(throw 'eshell-replace-command
(eshell-parse-command "*make" (eshell-stringify-list
(flatten-tree args))))))