From: João Távora Date: Wed, 2 Jan 2019 20:34:09 +0000 (+0000) Subject: * eglot.el (eglot-workspace-configuration): safe when listp. X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~348 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=36b2fa8e7f799679c1ba6995e097ea3bd0fbc72d;p=emacs.git * eglot.el (eglot-workspace-configuration): safe when listp. --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 39f484220aa..6de3adf9763 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/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"