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

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

[elpa] 1.3 1a45d87 03/26: Revert "Fix #164: CodeAction command can be a


From: Christian Johansson
Subject: [elpa] 1.3 1a45d87 03/26: Revert "Fix #164: CodeAction command can be a Command object (#165)"
Date: Thu, 29 Apr 2021 15:09:12 -0400 (EDT)

tag: 1.3
commit 1a45d87a91eb6d42250d81b89a2790a3b4293438
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    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]