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.
This commit is contained in:
parent
3e6eccc175
commit
6422750b4f
1 changed files with 6 additions and 9 deletions
|
|
@ -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)))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue