[Top][All Lists]

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

[elpa] externals/eglot c5dea9a 20/22: * eglot.el (eglot-workspace-config

From: João Távora
Subject: [elpa] externals/eglot c5dea9a 20/22: * eglot.el (eglot-workspace-configuration): Safe when listp.
Date: Sat, 5 Jan 2019 09:31:05 -0500 (EST)

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

    * eglot.el (eglot-workspace-configuration): Safe when listp.
 eglot.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eglot.el b/eglot.el
index 39f4842..6de3adf 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1553,6 +1553,8 @@ Records START, END and PRE-CHANGE-LENGTH locally."
 Setting should be a keyword, value can be any value that can be
 converted to JSON.")
+(put 'eglot-workspace-configuration 'safe-local-variable 'listp)
 (defun eglot-signal-didChangeConfiguration (server)
   "Send a `:workspace/didChangeConfiguration' signal to SERVER.
 When called interactively, use the currently active server"

reply via email to

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