emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master eedb9594415: ; * lisp/eshell/em-unix.el (eshell-grep): Fix "plain


From: Jim Porter
Subject: master eedb9594415: ; * lisp/eshell/em-unix.el (eshell-grep): Fix "plain grep" behavior.
Date: Mon, 20 May 2024 20:38:49 -0400 (EDT)

branch: master
commit eedb959441578f9b4e62b78e1a772328bffe9466
Author: Jim Porter <jporterbugs@gmail.com>
Commit: Jim Porter <jporterbugs@gmail.com>

    ; * lisp/eshell/em-unix.el (eshell-grep): Fix "plain grep" behavior.
---
 lisp/eshell/em-unix.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/eshell/em-unix.el b/lisp/eshell/em-unix.el
index 751f13cc715..855efa26033 100644
--- a/lisp/eshell/em-unix.el
+++ b/lisp/eshell/em-unix.el
@@ -815,8 +815,8 @@ external command."
   (if (and maybe-use-occur eshell-no-grep-available)
       (eshell-poor-mans-grep args)
     (eshell-compile command (cons "-n" args)
-                    (and eshell-plain-grep-behavior
-                         'interactive)
+                    (when eshell-plain-grep-behavior
+                      'plain)
                      #'grep-mode)))
 
 (defun eshell/grep (&rest args)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]