diff options
| author | Mattias EngdegÄrd | 2021-10-18 17:06:22 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2021-10-18 17:26:45 +0200 |
| commit | bb4209a5a5337f9c09c4ebb2a65415a41361d8da (patch) | |
| tree | a0d45ec5a495f364663bfe389fdcae16a0dd7a62 /lib | |
| parent | c163fd9260317adbb85a2274dab795a6a7f3061f (diff) | |
| download | emacs-bb4209a5a5337f9c09c4ebb2a65415a41361d8da.tar.gz emacs-bb4209a5a5337f9c09c4ebb2a65415a41361d8da.zip | |
Fix xref elisp identifier namespace mistake
Pressing `M-.` on ALPHA in
(let ((ALPHA BETA)) ...)
would incorrectly search for ALPHA as a function rather than a variable.
* lisp/progmodes/elisp-mode.el (elisp--xref-infer-namespace): Fix logic.
* test/lisp/progmodes/elisp-mode-tests.el
(elisp-mode-infer-namespace): Add test case.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions