]> git.eshelyaron.com Git - emacs.git/commitdiff
Document synchronous behavior of eshell/make (Bug#32513)
authorNoam Postavsky <npostavs@gmail.com>
Wed, 19 Sep 2018 22:57:37 +0000 (18:57 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Wed, 19 Sep 2018 22:57:37 +0000 (18:57 -0400)
* 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.

doc/misc/eshell.texi
lisp/eshell/em-unix.el

index 951a28f48292b096af62a2c17acf18c62499cfd8..b0d5603e0c907cb919c19efe3c2a00bcdfc4c69e 100644 (file)
@@ -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
index b00b6654cc56c31232847c08ea3b344563fecddf..b569f90993822bb78e6adef41798935144a995d2 100644 (file)
@@ -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