string-prefix-p doesn't work on symbols
* eglot.el (eglot-handle-notification): Coerce method name to string.
GitHub-reference: https://github.com/joaotavora/eglot/issues/93
(cl-defmethod eglot-handle-notification
(_server method &key &allow-other-keys)
"Handle unknown notification"
- (unless (string-prefix-p "$" method)
+ (unless (string-prefix-p "$" (format "%s" method))
(eglot--warn "Server sent unknown notification method `%s'" method)))
(cl-defmethod eglot-handle-request