Only skip some variables that have function counterparts
commitfbe7fb054755b9bfe1375691d3c774cb84236859
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 5 May 2015 12:11:14 +0000 (5 15:11 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 5 May 2015 12:11:14 +0000 (5 15:11 +0300)
tree617eae11afd598eb56df23620bf9666215cf1b7f
parent6337f2434e3385d4d35240789cdcc9037be7bd01
Only skip some variables that have function counterparts

* lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
Only skip minor-mode-named variable if it's defined in a Lisp
file, and it's in minor-mode-list (bug#20506).

* test/automated/elisp-mode-tests.el
(elisp-xref-finds-both-function-and-variable)
(elisp-xref-finds-only-function-for-minor-mode): New tests.
lisp/progmodes/elisp-mode.el
test/automated/elisp-mode-tests.el