1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00

Add explicit '--no-heading' for ripgrep

* lisp/progmodes/xref.el (xref-search-program-alist):
Add explicit '--no-heading' for ripgrep (bug#54177).
This commit is contained in:
Dmitry Gutov 2022-02-27 15:28:04 +02:00
parent a50f8dec09
commit 558b03a958

View File

@ -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.