[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 558b03a958: Add explicit '--no-heading' for ripgrep
From: |
Dmitry Gutov |
Subject: |
emacs-28 558b03a958: Add explicit '--no-heading' for ripgrep |
Date: |
Sun, 27 Feb 2022 08:28:28 -0500 (EST) |
branch: emacs-28
commit 558b03a958839a53bac761b20c800b6b6cf43468
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
Add explicit '--no-heading' for ripgrep
* lisp/progmodes/xref.el (xref-search-program-alist):
Add explicit '--no-heading' for ripgrep (bug#54177).
---
lisp/progmodes/xref.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index 0ee7dd5cad..2fd5e19237 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -1626,7 +1626,7 @@ IGNORES is a list of glob patterns for files to ignore."
(ripgrep
.
;; '!*/' is there to filter out dirs (e.g. submodules).
- "xargs -0 rg <C> --null -nH --no-messages -g '!*/' -e <R>"
+ "xargs -0 rg <C> --null -nH --no-heading --no-messages -g '!*/' -e <R>"
))
"Associative list mapping program identifiers to command templates.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 558b03a958: Add explicit '--no-heading' for ripgrep,
Dmitry Gutov <=