]> git.eshelyaron.com Git - emacs.git/commitdiff
* eglot.el (eglot-workspace-configuration): safe when listp.
authorJoão Távora <joaotavora@gmail.com>
Wed, 2 Jan 2019 20:34:09 +0000 (20:34 +0000)
committerJoão Távora <joaotavora@gmail.com>
Wed, 2 Jan 2019 20:34:09 +0000 (20:34 +0000)
lisp/progmodes/eglot.el

index 39f484220aa3ebffe2f86a8cd7612980add6286c..6de3adf9763a46ef803e0838844c65f61b907989 100644 (file)
@@ -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"