From: Dmitry Gutov Date: Sun, 27 Feb 2022 13:28:04 +0000 (+0200) Subject: Add explicit '--no-heading' for ripgrep X-Git-Tag: emacs-28.0.92~24 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=558b03a958839a53bac761b20c800b6b6cf43468;p=emacs.git Add explicit '--no-heading' for ripgrep * lisp/progmodes/xref.el (xref-search-program-alist): Add explicit '--no-heading' for ripgrep (bug#54177). --- 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 --null -nH --no-messages -g '!*/' -e " + "xargs -0 rg --null -nH --no-heading --no-messages -g '!*/' -e " )) "Associative list mapping program identifiers to command templates.