From 806734c1b1f433de43d59d9a5e3a1e89d64315f6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Thu, 20 Oct 2022 11:06:44 +0100 Subject: [PATCH] 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 --- lisp/progmodes/eglot.el | 1 + 1 file changed, 1 insertion(+) 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." -- 2.39.2