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.
This commit is contained in:
parent
98544ea3ea
commit
b3baf997c8
2 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue