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

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

[elpa] externals/eglot 10b238b 03/26: Revert "Fix #164: CodeAction comma


From: João Távora
Subject: [elpa] externals/eglot 10b238b 03/26: Revert "Fix #164: CodeAction command can be a Command object (#165)"
Date: Sun, 9 Dec 2018 19:11:25 -0500 (EST)

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

    Revert "Fix #164: CodeAction command can be a Command object (#165)"
    
    This reverts commit 11eb25678b2f32a3496bd7efb95b90941c9ae5ea.
    
    The spec doesn't define Command as implemented in the commit.
---
 eglot.el | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/eglot.el b/eglot.el
index bc89cd2..4996f5b 100644
--- a/eglot.el
+++ b/eglot.el
@@ -2011,12 +2011,7 @@ If SKIP-SIGNATURE, don't try to send 
textDocument/signatureHelp."
       (when edit
         (eglot--apply-workspace-edit edit))
       (when command
-        (cond ((stringp command)
-               (eglot-execute-command server (intern command) arguments))
-              ((listp command)
-               (eglot-execute-command server
-                                      (intern (plist-get command :command))
-                                      (plist-get command :arguments))))))))
+        (eglot-execute-command server (intern command) arguments)))))
 
 
 



reply via email to

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