Implement xref-find-references in etags and elisp-mode
commitfed6a0d6b1c11e45ee49549954ad306df89873ad
authorDmitry Gutov <dgutov@yandex.ru>
Fri, 1 May 2015 18:54:33 +0000 (1 21:54 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Fri, 1 May 2015 20:41:27 +0000 (1 23:41 +0300)
treeba713ed9b37eec633ede5c978694d5d9483ec662
parentb621e97436c6d9fd255d2ff84a237ddc79a4b8b9
Implement xref-find-references in etags and elisp-mode

* lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
(elisp-xref-find): Use it.

* lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.

* lisp/progmodes/xref.el (xref-collect-references):
(xref--collect-reference): New functions.
lisp/progmodes/elisp-mode.el
lisp/progmodes/etags.el
lisp/progmodes/xref.el