Eglot: fix thinko in previous commit
* lisp/progmodes/eglot.el (eglot--hierarchy-1): 'roots' is a vector.
This commit is contained in:
parent
9d2d8a4d39
commit
3e699b3047
1 changed files with 2 additions and 1 deletions
|
@ -4532,7 +4532,8 @@ If NOERROR, return predicate, else erroring function."
|
|||
server
|
||||
preparer
|
||||
(eglot--TextDocumentPositionParams))))
|
||||
(unless roots (eglot--error "No hierarchy information here"))
|
||||
(unless (cl-plusp (length roots))
|
||||
(eglot--error "No hierarchy information here"))
|
||||
(with-current-buffer (get-buffer-create name)
|
||||
(eglot-hierarchy-mode)
|
||||
(setq-local
|
||||
|
|
Loading…
Add table
Reference in a new issue