From: Dmitry Gutov Date: Sun, 1 May 2016 23:38:01 +0000 (+0300) Subject: `nreverse' Grep hits before passing them to xref--convert-hits X-Git-Tag: emacs-25.0.94~51 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fd7b430;p=emacs.git `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. --- diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index f674c70b104..b5632af13ab 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -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'