From 15fafa34d0f2d3491d27c6b6d6b6310424eadb14 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Thu, 9 Jul 2015 05:15:50 +0300 Subject: [PATCH] * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse' in the end. --- lisp/progmodes/xref.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index 50d52d01efe..78094ab625c 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -767,7 +767,8 @@ tools are used, and when." hits)))) (unwind-protect (delq nil - (mapcar (lambda (hit) (xref--collect-match hit regexp)) hits)) + (mapcar (lambda (hit) (xref--collect-match hit regexp)) + (nreverse hits))) (mapc #'kill-buffer (cl-set-difference (buffer-list) orig-buffers))))) -- 2.11.4.GIT