diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2015-06-02 18:46:42 +0300 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2015-06-02 18:47:43 +0300 |
commit | 7f01832e1360b5203695d48605a45228f1362b42 (patch) | |
tree | 18331d8e6a5479eb160988faf0587b30c4be99b8 /lisp/emacs-lisp/cursor-sensor.el | |
parent | 64f2d346b762a6e3180eba92b5cc96f82f370687 (diff) | |
download | emacs-7f01832e1360b5203695d48605a45228f1362b42.tar.gz emacs-7f01832e1360b5203695d48605a45228f1362b42.tar.bz2 emacs-7f01832e1360b5203695d48605a45228f1362b42.zip |
Reuse rgrep mechanics in xref-find-regexp
* lisp/progmodes/grep.el (rgrep-default-command):
Extract from `rgrep'.
* lisp/progmodes/xref.el (xref-collect-references): Split from
`xref-collect-matches'. Only handle the case of symbol search.
(xref-collect-matches): Instead of Semantic Symref, use
`rgrep-default-command', to take advantage of its directory and
file ignore settings.
(xref--collect-match): Remove the last argument, leaving the
regexp construction up to the caller.
* lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
Change to take the xref-collect- function to use as an argument.
(elisp-xref-find): Update accordingly.
* lisp/progmodes/etags.el (etags--xref-find-matches)
(etags-xref-find): Same.
Diffstat (limited to 'lisp/emacs-lisp/cursor-sensor.el')
0 files changed, 0 insertions, 0 deletions