]> git.eshelyaron.com Git - emacs.git/commit
elisp--xref-find-definitions handle cl-defstuct default constructor
authorStephen Leake <stephen_leake@stephe-leake.org>
Tue, 11 Aug 2015 19:28:17 +0000 (14:28 -0500)
committerStephen Leake <stephen_leake@stephe-leake.org>
Tue, 11 Aug 2015 19:29:34 +0000 (14:29 -0500)
commit85f7e5115f9f409126d355997e8103ea5126ada2
treea70e6c131fa45969de0efd7dca0eca681581f7df
parent6171d5b1f9edb09ca43c219f08e7a372de8740b2
elisp--xref-find-definitions handle cl-defstuct default constructor

* lisp/progmodes/elisp-mode.el (elisp-xref-find): Add FIXME.
(elisp--xref-format-extra): Rename from elisp--xref-format-cl-defmethod.
(elisp--xref-find-definitions): Handle cl-defstuct default constructor.

* test/automated/elisp-mode-tests.el (xref-elisp-test-run): Split out
from xref-elisp-test for ease of debugging.
(xref-elisp-deftest): Rename from xref-elisp-test.
(find-defs-constructor): New test.
(find-defs-defgeneric-el): Match batch test config.
(compile): Required for find-defs compilation-minor-mode test.
(find-defs-defvar-el): Match code change.
(find-defs-face-el): Match code change.

* lisp/progmodes/xref.el (xref-find-function, xref-find-definitions):
Improve doc string.
lisp/progmodes/elisp-mode.el
lisp/progmodes/xref.el
test/automated/elisp-mode-tests.el