From: Dmitry Gutov Date: Thu, 9 Jul 2015 02:15:50 +0000 (+0300) Subject: * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse' in the end. X-Git-Tag: emacs-25.0.90~1518 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=15fafa34d0f2d3491d27c6b6d6b6310424eadb14;p=emacs.git * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse' in the end. --- 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)))))