1
0
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:
Dmitry Gutov 2016-05-02 02:38:01 +03:00
parent c695fb37d3
commit fd7b430afd

View File

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