]> git.eshelyaron.com Git - emacs.git/commitdiff
Add explicit '--no-heading' for ripgrep
authorDmitry Gutov <dgutov@yandex.ru>
Sun, 27 Feb 2022 13:28:04 +0000 (15:28 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Sun, 27 Feb 2022 13:28:04 +0000 (15:28 +0200)
* lisp/progmodes/xref.el (xref-search-program-alist):
Add explicit '--no-heading' for ripgrep (bug#54177).

lisp/progmodes/xref.el

index 0ee7dd5cadfb1633ecde34313740ee23e3204a0b..2fd5e192376afb38e85f0b08eabe1aa271b00d93 100644 (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.