[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 6422750: Don't make grep arguments invisible in eshell
From: |
Lars Ingebrigtsen |
Subject: |
master 6422750: Don't make grep arguments invisible in eshell |
Date: |
Thu, 3 Dec 2020 05:11:55 -0500 (EST) |
branch: master
commit 6422750b4f8cbc7d1da49b72873deeb18390e379
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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.
---
lisp/eshell/em-unix.el | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/lisp/eshell/em-unix.el b/lisp/eshell/em-unix.el
index 1881864..1530004 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)))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 6422750: Don't make grep arguments invisible in eshell,
Lars Ingebrigtsen <=