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

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

[elpa] externals/eglot 792dc6b 28/62: * eglot.el (advice-add jsonrpc-req


From: Stefan Monnier
Subject: [elpa] externals/eglot 792dc6b 28/62: * eglot.el (advice-add jsonrpc-request): Add &allow-other-keys
Date: Sat, 29 Sep 2018 17:13:32 -0400 (EDT)

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

    * 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]