aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Gutov2015-12-30 06:25:39 +0200
committerDmitry Gutov2015-12-30 06:25:48 +0200
commitce106f3de6b016a474e2591dea9226a3741effee (patch)
tree424376dc20126ac2f861261a1693b4086a72a5f9
parentbe0bba46a08dacf66a753cdd268ccabe180d8ee5 (diff)
downloademacs-ce106f3de6b016a474e2591dea9226a3741effee.tar.gz
emacs-ce106f3de6b016a474e2591dea9226a3741effee.zip
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.
-rw-r--r--lisp/progmodes/xref.el2
1 files changed, 1 insertions, 1 deletions
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."
886 hits))) 886 hits)))
887 (unwind-protect 887 (unwind-protect
888 (cl-mapcan (lambda (hit) (xref--collect-matches hit regexp)) 888 (cl-mapcan (lambda (hit) (xref--collect-matches hit regexp))
889 hits) 889 (nreverse hits))
890 ;; TODO: Same as above. 890 ;; TODO: Same as above.
891 (mapc #'kill-buffer 891 (mapc #'kill-buffer
892 (cl-set-difference (buffer-list) orig-buffers))))) 892 (cl-set-difference (buffer-list) orig-buffers)))))