]> git.eshelyaron.com Git - emacs.git/commitdiff
; For compatibility, eshell/make should print to Eshell unless backgrounded
authorJim Porter <jporterbugs@gmail.com>
Fri, 26 Jan 2024 01:12:28 +0000 (17:12 -0800)
committerEshel Yaron <me@eshelyaron.com>
Fri, 26 Jan 2024 11:23:05 +0000 (12:23 +0100)
* lisp/eshell/em-unix.el (eshell/make): Pass 'plain' to eshell-compile
when in the foreground (bug#68724).

(cherry picked from commit 4834be0949e13a728b69ab97ac9c8a0dbec65f3a)

lisp/eshell/em-unix.el

index 75afaf1c1040c1c0f21b56fa448274a81e8dea30..b066e9eeb8eebd8c0dece96e86c21b56b68172c1 100644 (file)
@@ -741,7 +741,7 @@ Fallback to standard make when called synchronously."
   (eshell-compile "make" args
                   ;; Use plain output unless we're executing in the
                   ;; background.
-                  (not eshell-current-subjob-p)))
+                  (unless eshell-current-subjob-p 'plain)))
 
 (put 'eshell/make 'eshell-no-numeric-conversions t)