From: João Távora Date: Fri, 3 Aug 2018 08:14:42 +0000 (+0100) Subject: Default eglot-handle-notifictiona|request must &allow-other-keys X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~461 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=af0e2e5b1fea4dbf21c556ca1245d7623cc92250;p=emacs.git Default eglot-handle-notifictiona|request must &allow-other-keys * eglot.el (eglot-handle-notification, eglot-handle-request): Add &allow-other-keys --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 58efc166863..7e825d6746a 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -872,12 +872,12 @@ Uses THING, FACE, DEFS and PREPEND." ;;; Protocol implementation (Requests, notifications, etc) ;;; (cl-defmethod eglot-handle-notification - (_server method &key) + (_server method &key &allow-other-keys) "Handle unknown notification" (eglot--warn "Server sent unknown notification method `%s'" method)) (cl-defmethod eglot-handle-request - (_server method &key) + (_server method &key &allow-other-keys) "Handle unknown request" (jsonrpc-error "Unknown request method `%s'" method))