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

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

[elpa] externals/eglot eeb34c6 21/62: Default eglot-handle-notifictiona|


From: Stefan Monnier
Subject: [elpa] externals/eglot eeb34c6 21/62: Default eglot-handle-notifictiona|request must &allow-other-keys
Date: Sat, 29 Sep 2018 17:13:31 -0400 (EDT)

branch: externals/eglot
commit eeb34c65b5517968069a2e8453dab3fb4b831569
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    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]