mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
Fix 'eglot-imenu'
* lisp/progmodes/eglot.el (eglot--imenu-SymbolInformation): Fix call to 'plist-get'. Patch by Lester Longley <lester@ieee.org>. (Bug#80367) Copyright-paperwork-exempt: yes
This commit is contained in:
parent
6a1a544a90
commit
114fab51c0
1 changed files with 1 additions and 1 deletions
|
|
@ -4208,7 +4208,7 @@ for which LSP on-type-formatting should be requested."
|
||||||
(let ((elems
|
(let ((elems
|
||||||
(eglot--collecting-ranged
|
(eglot--collecting-ranged
|
||||||
(s reg objs (lambda (o)
|
(s reg objs (lambda (o)
|
||||||
(plist-get :range (plist-get o :location))))
|
(plist-get (plist-get o :location) :range)))
|
||||||
(eglot--dbind ((SymbolInformation) kind name) s
|
(eglot--dbind ((SymbolInformation) kind name) s
|
||||||
(let ((kind (alist-get kind eglot--symbol-kind-names)))
|
(let ((kind (alist-get kind eglot--symbol-kind-names)))
|
||||||
(cons (propertize name
|
(cons (propertize name
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue