diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2022-02-27 15:28:04 +0200 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2022-02-27 15:28:04 +0200 |
commit | 558b03a958839a53bac761b20c800b6b6cf43468 (patch) | |
tree | 468baab59b874e3bcf77e709229f10210f66d9c1 /lisp/progmodes/xref.el | |
parent | a50f8dec092ecc82814fd21ed2cd1bfdc693655d (diff) | |
download | emacs-558b03a958839a53bac761b20c800b6b6cf43468.tar.gz emacs-558b03a958839a53bac761b20c800b6b6cf43468.tar.bz2 emacs-558b03a958839a53bac761b20c800b6b6cf43468.zip |
Add explicit '--no-heading' for ripgrep
* lisp/progmodes/xref.el (xref-search-program-alist):
Add explicit '--no-heading' for ripgrep (bug#54177).
Diffstat (limited to 'lisp/progmodes/xref.el')
-rw-r--r-- | lisp/progmodes/xref.el | 2 |
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. |