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

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

[elpa] externals/eglot d5b840b 20/49: Fix #606, #Fix 608: fix bug in egl


From: Stefan Monnier
Subject: [elpa] externals/eglot d5b840b 20/49: Fix #606, #Fix 608: fix bug in eglot-code-actions
Date: Wed, 17 Mar 2021 18:41:45 -0400 (EDT)

branch: externals/eglot
commit d5b840bdd62dd8682b7b20585010d7056b1b8490
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    Fix #606, #Fix 608: fix bug in eglot-code-actions
    
    Suggested by GitHub user "vconcat".
    
    * eglot.el (eglot-code-actions): Use a vector for transmitting
    action-kind.
---
 eglot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index b5f6e6f..98e0bcf 100644
--- a/eglot.el
+++ b/eglot.el
@@ -2554,7 +2554,7 @@ at point.  With prefix argument, prompt for ACTION-KIND."
                                when (cdr (assoc 'eglot-lsp-diag
                                                 (eglot--diag-data diag)))
                                collect it)]
-                   ,@(when action-kind `(:only ,action-kind))))))
+                   ,@(when action-kind `(:only [,action-kind]))))))
          (menu-items
           (or (cl-loop for action across actions
                        ;; Do filtering ourselves, in case the `:only'



reply via email to

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