emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 ce106f3de 2/2: Undo ill-advised change


From: Dmitry Gutov
Subject: [Emacs-diffs] emacs-25 ce106f3de 2/2: Undo ill-advised change
Date: Wed, 30 Dec 2015 04:26:05 +0000

branch: emacs-25
commit ce106f3de6b016a474e2591dea9226a3741effee
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Undo ill-advised change
    
    * lisp/progmodes/xref.el (xref-collect-matches): Undo
    ill-advised change.  The hits come in the order that `find'
    produces them in, which isn't alphabetical.
---
 lisp/progmodes/xref.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index abb9cc6..00f3489 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -886,7 +886,7 @@ IGNORES is a list of glob patterns."
               hits)))
     (unwind-protect
         (cl-mapcan (lambda (hit) (xref--collect-matches hit regexp))
-                   hits)
+                   (nreverse hits))
       ;; TODO: Same as above.
       (mapc #'kill-buffer
             (cl-set-difference (buffer-list) orig-buffers)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]