Say no documentation available if no documentation is available
This commit is contained in:
parent
ae91043e87
commit
3fab3fb571
@ -89,9 +89,11 @@
|
||||
"Display hover info at point in a childframe."
|
||||
(interactive)
|
||||
(let ((doc (funcall eldoc-documentation-function)))
|
||||
(when doc
|
||||
(if doc
|
||||
(progn
|
||||
(eldoc-box--display doc)
|
||||
(eldoc-box--inject-quit-func))))
|
||||
(eldoc-box--inject-quit-func))
|
||||
(message "No documentation available"))))
|
||||
|
||||
(defun eldoc-box-quit-frame ()
|
||||
"Hide childframe used by eglot doc."
|
||||
|
Loading…
Reference in New Issue
Block a user