diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2015-12-30 06:25:39 +0200 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2015-12-30 06:25:48 +0200 |
commit | ce106f3de6b016a474e2591dea9226a3741effee (patch) | |
tree | 424376dc20126ac2f861261a1693b4086a72a5f9 /lisp/progmodes/xref.el | |
parent | be0bba46a08dacf66a753cdd268ccabe180d8ee5 (diff) | |
download | emacs-ce106f3de6b016a474e2591dea9226a3741effee.tar.gz emacs-ce106f3de6b016a474e2591dea9226a3741effee.tar.bz2 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.
Diffstat (limited to 'lisp/progmodes/xref.el')
-rw-r--r-- | 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 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))))) |