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

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

[elpa] externals/eglot 734a1ee224 2/2: Fix #936: ensure non-null :settin


From: ELPA Syncer
Subject: [elpa] externals/eglot 734a1ee224 2/2: Fix #936: ensure non-null :settings param in didChangeConfiguration notif
Date: Wed, 27 Apr 2022 06:57:30 -0400 (EDT)

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

    Fix #936: ensure non-null :settings param in didChangeConfiguration notif
    
    * eglot.el (eglot-signal-didChangeConfiguration): Use eglot--{}
---
 eglot.el | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/eglot.el b/eglot.el
index 348ae4b42c..fd82b76c5b 100644
--- a/eglot.el
+++ b/eglot.el
@@ -2198,11 +2198,12 @@ When called interactively, use the currently active 
server"
    server :workspace/didChangeConfiguration
    (list
     :settings
-    (cl-loop for (section . v) in eglot-workspace-configuration
-             collect (if (keywordp section)
-                         section
-                       (intern (format ":%s" section)))
-             collect v))))
+    (or (cl-loop for (section . v) in eglot-workspace-configuration
+                 collect (if (keywordp section)
+                             section
+                           (intern (format ":%s" section)))
+                 collect v)
+        eglot--{}))))
 
 (cl-defmethod eglot-handle-request
   (server (_method (eql workspace/configuration)) &key items)



reply via email to

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