mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
`nreverse' Grep hits before passing them to xref--convert-hits
* lisp/progmodes/xref.el (xref-collect-matches): `nreverse' hits
before passing them to xref--convert-hits. Fixes a regression
from cc0b7132
.
This commit is contained in:
parent
c695fb37d3
commit
fd7b430afd
@ -902,7 +902,7 @@ IGNORES is a list of glob patterns."
|
||||
(match-string 1)
|
||||
(buffer-substring-no-properties (point) (line-end-position)))
|
||||
hits)))
|
||||
(xref--convert-hits hits regexp)))
|
||||
(xref--convert-hits (nreverse hits) regexp)))
|
||||
|
||||
(defun xref--rgrep-command (regexp files dir ignores)
|
||||
(require 'find-dired) ; for `find-name-arg'
|
||||
|
Loading…
Reference in New Issue
Block a user