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

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

[elpa] externals/eglot 923cbbe 08/22: Don't make bogus responses to clie


From: João Távora
Subject: [elpa] externals/eglot 923cbbe 08/22: Don't make bogus responses to client/(Un)RegisterCapability
Date: Sat, 5 Jan 2019 09:31:03 -0500 (EST)

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

    Don't make bogus responses to client/(Un)RegisterCapability
    
    * eglot.el (eglot--register-unregister): Response is void.
---
 eglot.el | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/eglot.el b/eglot.el
index e83562f..ee40329 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1417,11 +1417,9 @@ COMMAND is a symbol naming the command."
 THINGS are either registrations or unregisterations."
   (cl-loop
    for thing in (cl-coerce things 'list)
-   collect (eglot--dbind ((Registration) id method registerOptions) thing
-             (apply (intern (format "eglot--%s-%s" how method))
-                    server :id id registerOptions))
-   into results
-   finally return `(:ok ,@results)))
+   do (eglot--dbind ((Registration) id method registerOptions) thing
+        (apply (intern (format "eglot--%s-%s" how method))
+               server :id id registerOptions))))
 
 (cl-defmethod eglot-handle-request
   (server (_method (eql client/registerCapability)) &key registrations)



reply via email to

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