projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c695fb3
)
`nreverse' Grep hits before passing them to xref--convert-hits
author
Dmitry Gutov
<dgutov@yandex.ru>
Sun, 1 May 2016 23:38:01 +0000
(
02:38
+0300)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Mon, 2 May 2016 09:21:26 +0000
(12:21 +0300)
* lisp/progmodes/xref.el (xref-collect-matches): `nreverse' hits
before passing them to xref--convert-hits. Fixes a regression
from
cc0b7132
.
lisp/progmodes/xref.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/xref.el
b/lisp/progmodes/xref.el
index f674c70b104c9ef0d3530d79cb10b9820d3e3f03..b5632af13abfe20896da48e3b5823ff841a4a1dc 100644
(file)
--- a/
lisp/progmodes/xref.el
+++ b/
lisp/progmodes/xref.el
@@
-902,7
+902,7
@@
IGNORES is a list of glob patterns."
(match-string 1)
(buffer-substring-no-properties (point) (line-end-position)))
hits)))
- (xref--convert-hits
hits
regexp)))
+ (xref--convert-hits
(nreverse hits)
regexp)))
(defun xref--rgrep-command (regexp files dir ignores)
(require 'find-dired) ; for `find-name-arg'