projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9801e21
)
Expose eglot-{} to be used in eglot-workspace-configuration
author
João Távora
<joaotavora@gmail.com>
Thu, 20 Oct 2022 10:06:44 +0000
(11:06 +0100)
committer
João Távora
<joaotavora@gmail.com>
Thu, 20 Oct 2022 10:10:06 +0000
(11:10 +0100)
* eglot.el (eglot-{}): New variable alias.
GitHub-reference: per https://github.com/joaotavora/eglot/issues/1084
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index 1520d991ffa5791c30a93c33b60c093d168a56c8..901bf30d4bd5ec64ca18b16df789c884abbf1199 100644
(file)
--- 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."