From: Dmitry Gutov Date: Wed, 30 Dec 2015 04:25:39 +0000 (+0200) Subject: Undo ill-advised change X-Git-Tag: emacs-25.0.90~320 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ce106f3de6b016a474e2591dea9226a3741effee;p=emacs.git 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. --- diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index abb9cc6361d..00f348929ef 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)))))