1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

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

This commit is contained in:
Jim Porter 2024-05-20 17:38:00 -07:00
parent 77ece5709a
commit eedb959441

View file

@ -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)