From: João Távora Date: Thu, 20 Oct 2022 10:06:44 +0000 (+0100) Subject: Expose eglot-{} to be used in eglot-workspace-configuration X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=806734c1b1f433de43d59d9a5e3a1e89d64315f6;p=emacs.git Expose eglot-{} to be used in eglot-workspace-configuration * eglot.el (eglot-{}): New variable alias. GitHub-reference: per https://github.com/joaotavora/eglot/issues/1084 --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 1520d991ffa..901bf30d4bd 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -407,6 +407,7 @@ This can be useful when using docker to run a language server.") (2 . eglot-diagnostic-tag-deprecated-face))) (defconst eglot--{} (make-hash-table :size 1) "The empty JSON object.") +(defvaralias 'eglot-{} 'eglot--{}) (defun eglot--executable-find (command &optional remote) "Like Emacs 27's `executable-find', ignore REMOTE on Emacs 26."