]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse' in the end.
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 9 Jul 2015 02:15:50 +0000 (05:15 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 9 Jul 2015 02:15:50 +0000 (05:15 +0300)
lisp/progmodes/xref.el

index 50d52d01efebf201bc816d8e0f5f516749b98ad1..78094ab625ce2c3eb2cd4d4fe1df49b7c222e46a 100644 (file)
@@ -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)))))