From af0e2e5b1fea4dbf21c556ca1245d7623cc92250 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Fri, 3 Aug 2018 09:14:42 +0100 Subject: [PATCH] Default eglot-handle-notifictiona|request must &allow-other-keys * eglot.el (eglot-handle-notification, eglot-handle-request): Add &allow-other-keys --- lisp/progmodes/eglot.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.39.2