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.
This commit is contained in:
Dmitry Gutov 2015-12-30 06:25:39 +02:00
parent be0bba46a0
commit ce106f3de6

View file

@ -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)))))