emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 1.2 4d80eeb 015/101: Default eglot-handle-notifictiona|request mu


From: Christian Johansson
Subject: [elpa] 1.2 4d80eeb 015/101: Default eglot-handle-notifictiona|request must &allow-other-keys
Date: Thu, 29 Apr 2021 15:08:51 -0400 (EDT)

tag: 1.2
commit 4d80eeb8a1679701a8f8ce1daa990254d08a50d1
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    Default eglot-handle-notifictiona|request must &allow-other-keys
    
    * eglot.el (eglot-handle-notification, eglot-handle-request): Add
    &allow-other-keys
---
 eglot.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eglot.el b/eglot.el
index 58efc16..7e825d6 100644
--- a/eglot.el
+++ b/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))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]