[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/eglot d703c1a948 2/2: Per #1033: Don't return hash tabl
From: |
ELPA Syncer |
Subject: |
[elpa] externals/eglot d703c1a948 2/2: Per #1033: Don't return hash tables from e-w-configuration-plist |
Date: |
Sun, 18 Sep 2022 06:57:39 -0400 (EDT) |
branch: externals/eglot
commit d703c1a94809b0c69d9dd4ad4f73feef3f05a2ae
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
Per #1033: Don't return hash tables from e-w-configuration-plist
* eglot.el (eglot-signal-didChangeConfiguration): Adjust.
(eglot-handle-request workspace-configuration): Adjust.
(eglot--workspace-configuration-plist): Don't return a hashtable.
---
eglot.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/eglot.el b/eglot.el
index c2db7e817f..7c1e849389 100644
--- a/eglot.el
+++ b/eglot.el
@@ -2257,8 +2257,7 @@ format described above.")
collect (if (keywordp section) section
(intern (format ":%s" section)))
collect v))
- val
- eglot--{})))
+ val)))
(defun eglot-signal-didChangeConfiguration (server)
"Send a `:workspace/didChangeConfiguration' signal to SERVER.
@@ -2268,7 +2267,8 @@ When called interactively, use the currently active
server"
server :workspace/didChangeConfiguration
(list
:settings
- (eglot--workspace-configuration-plist server))))
+ (or (eglot--workspace-configuration-plist server)
+ eglot--{}))))
(cl-defmethod eglot-handle-request
(server (_method (eql workspace/configuration)) &key items)