mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-27 15:40:47 -08: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
1 changed files with 1 additions and 1 deletions
|
|
@ -902,7 +902,7 @@ IGNORES is a list of glob patterns."
|
||||||
(match-string 1)
|
(match-string 1)
|
||||||
(buffer-substring-no-properties (point) (line-end-position)))
|
(buffer-substring-no-properties (point) (line-end-position)))
|
||||||
hits)))
|
hits)))
|
||||||
(xref--convert-hits hits regexp)))
|
(xref--convert-hits (nreverse hits) regexp)))
|
||||||
|
|
||||||
(defun xref--rgrep-command (regexp files dir ignores)
|
(defun xref--rgrep-command (regexp files dir ignores)
|
||||||
(require 'find-dired) ; for `find-name-arg'
|
(require 'find-dired) ; for `find-name-arg'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue