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

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

[elpa] 1.2 ee372b4 022/101: * eglot.el (advice-add jsonrpc-request): Add


From: Christian Johansson
Subject: [elpa] 1.2 ee372b4 022/101: * eglot.el (advice-add jsonrpc-request): Add &allow-other-keys
Date: Thu, 29 Apr 2021 15:08:53 -0400 (EDT)

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

    * eglot.el (advice-add jsonrpc-request): Add &allow-other-keys
---
 eglot.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index 3b1b364..7f0e91d 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1048,7 +1048,8 @@ Records START, END and PRE-CHANGE-LENGTH locally."
 ;; bad idea, since that might lead to the request never having a
 ;; chance to run, because `jsonrpc-connection-ready-p'.
 (advice-add #'jsonrpc-request :before
-            (cl-function (lambda (_proc _method _params &key deferred _timeout)
+            (cl-function (lambda (_proc _method _params &key
+                                        deferred &allow-other-keys)
                            (when (and eglot--managed-mode deferred)
                              (eglot--signal-textDocument/didChange))))
             '((name . eglot--signal-textDocument/didChange)))



reply via email to

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