Eglot: auto-expand first level in type and call hierarchies
* lisp/progmodes/eglot.el (eglot--hierarchy-2): Use widget-apply-action.
This commit is contained in:
parent
3fde13a501
commit
37c07f383b
1 changed files with 2 additions and 1 deletions
|
@ -4564,7 +4564,8 @@ If NOERROR, return predicate, else erroring function."
|
|||
(let ((inhibit-read-only t))
|
||||
(erase-buffer)
|
||||
(mapc (lambda (r)
|
||||
(widget-create (convert r)))
|
||||
(let ((w (widget-create (convert r))))
|
||||
(widget-apply-action w)))
|
||||
eglot--hierarchy-roots)
|
||||
(goto-char (point-min))))
|
||||
(pop-to-buffer (current-buffer)))
|
||||
|
|
Loading…
Add table
Reference in a new issue