From: Lars Ingebrigtsen Date: Thu, 3 Dec 2020 10:11:46 +0000 (+0100) Subject: Don't make grep arguments invisible in eshell X-Git-Tag: emacs-28.0.90~4949 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6422750b4f8cbc7d1da49b72873deeb18390e379;p=emacs.git Don't make grep arguments invisible in eshell * lisp/eshell/em-unix.el (eshell-grep): There doesn't seem to be any reason why parts of the command should be invisible, so don't do that. --- diff --git a/lisp/eshell/em-unix.el b/lisp/eshell/em-unix.el index 18818648bc4..153000438e7 100644 --- a/lisp/eshell/em-unix.el +++ b/lisp/eshell/em-unix.el @@ -754,15 +754,12 @@ external command." (eshell-stringify-list (flatten-tree args))) " ")) - (cmd (progn - (set-text-properties 0 (length args) - '(invisible t) args) - (format "%s -n %s" - (pcase command - ("egrep" "grep -E") - ("fgrep" "grep -F") - (x x)) - args))) + (cmd (format "%s -n %s" + (pcase command + ("egrep" "grep -E") + ("fgrep" "grep -F") + (x x)) + args)) compilation-scroll-output) (grep cmd)))))