]> code.delx.au - gnu-emacs/commit
Add xref-find-regexp
authorDmitry Gutov <dgutov@yandex.ru>
Sun, 10 May 2015 23:07:27 +0000 (02:07 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Sun, 10 May 2015 23:07:27 +0000 (02:07 +0300)
commit089632800a1d408d2d2a9f0ecc5c52ce9c5319c6
treedd6aae433cbcfbbd793af3f52186a9a9d571df9a
parente20b70bf505a9ac699cfdba534fe20210923f474
Add xref-find-regexp

* lisp/progmodes/xref.el (xref-find-function): Describe the
`matches' action.
(xref-find-regexp): New command, using it.
(xref-collect-references): Rename to xref-collect-matches.
(xref--collect-reference): Rename to xref--collect-match.
(xref-collect-matches, xref--collect-match): Accept new argument,
KIND.  Update accordingly.
(xref--regexp-to-extended): New function.

* lisp/progmodes/elisp-mode.el (elisp-xref-find): Support the
`matches' action.
(elisp--xref-find-matches): Accept new argument.  Resolve a FIXME.

* lisp/progmodes/etags.el (etags-xref-find):
Support the `matches' action.
(etags--xref-find-matches): New function.
lisp/progmodes/elisp-mode.el
lisp/progmodes/etags.el
lisp/progmodes/xref.el