* eglot.el (eglot-handle-request window/showMessageRequest):
Handle empty actions.
GitHub-reference: fix https://github.com/joaotavora/eglot/issues/627
(cl-defmethod eglot-handle-request
(_server (_method (eql window/showMessageRequest)) &key type message actions)
"Handle server request window/showMessageRequest"
- (let ((label (completing-read
+ (let ((actions (append actions nil)) ;; gh#627
+ (label (completing-read
(concat
(format (propertize "[eglot] Server reports (type=%s): %s"
'face (if (<= type 1) 'error))