summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2022-02-27 15:28:04 +0200
committerDmitry Gutov <dgutov@yandex.ru>2022-02-27 15:28:04 +0200
commit558b03a958839a53bac761b20c800b6b6cf43468 (patch)
tree468baab59b874e3bcf77e709229f10210f66d9c1
parenta50f8dec092ecc82814fd21ed2cd1bfdc693655d (diff)
downloademacs-558b03a958839a53bac761b20c800b6b6cf43468.tar.gz
Add explicit '--no-heading' for ripgrep
* lisp/progmodes/xref.el (xref-search-program-alist): Add explicit '--no-heading' for ripgrep (bug#54177).
-rw-r--r--lisp/progmodes/xref.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index 0ee7dd5cadf..2fd5e192376 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.