[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 7220640: Fix rgrep abbreviation
From: |
Dmitry Gutov |
Subject: |
master 7220640: Fix rgrep abbreviation |
Date: |
Mon, 7 Jun 2021 08:03:27 -0400 (EDT) |
branch: master
commit 722064022ccbf594e2f74fa13b252b686c3ff0ea
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
Fix rgrep abbreviation
* lisp/progmodes/grep.el (grep-mode-font-lock-keywords):
Update for the last change in grep-find-template (bug#48471).
---
lisp/progmodes/grep.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index 8647c70..462ea51 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -473,7 +473,7 @@ buffer `default-directory'."
(1 (if (eq (char-after (match-beginning 1)) ?\0)
`(face nil display ,(match-string 2)))))
;; Hide excessive part of rgrep command
- ("^find \\(\\. -type d .*\\(?:\\\\)\\|\")\"\\)\\)"
+ ("^find \\(\\(?:-H \\)?\\. -type d .*\\(?:\\\\)\\|\")\"\\)\\)"
(1 (if grep-find-abbreviate grep-find-abbreviate-properties
'(face nil abbreviated-command t))))
;; Hide excessive part of lgrep command
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 7220640: Fix rgrep abbreviation,
Dmitry Gutov <=