Commit b3baf997 authored by Noam Postavsky's avatar Noam Postavsky

Document synchronous behavior of eshell/make (Bug#32513)

* doc/misc/eshell.texi (Built-ins):
* lisp/eshell/em-unix.el (eshell/make): Mention that it falls back to
the external 'make' command when called synchronously.
parent 98544ea3
......@@ -346,8 +346,9 @@ Alias to Emacs's @code{locate} function, which simply runs the external
@item make
@cmindex make
Run @command{make} through @code{compile}.
@xref{Compilation, , , emacs, The GNU Emacs Manual}.
Run @command{make} through @code{compile} when run asynchronously
(e.g., @samp{make &}). @xref{Compilation, , , emacs, The GNU Emacs
Manual}. Otherwise call the external @command{make} command.
@item occur
@cmindex occur
......
......@@ -656,7 +656,8 @@ Concatenate FILE(s), or standard input, to standard output.")
;; special front-end functions for compilation-mode buffers
(defun eshell/make (&rest args)
"Use `compile' to do background makes."
"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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment