Further shrink eglot--{}
Up to and including Emacs 29, :size 0 was an alias for :size 1. Emacs 30 gained support for :size 0 hash tables (bug#68244). * lisp/progmodes/eglot.el (eglot--{}): Define as truly zero-sized.
This commit is contained in:
parent
21e272fe4f
commit
87cf30fba3
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ It is nil if Eglot is not byte-complied.")
|
|||
|
||||
(defvaralias 'eglot-{} 'eglot--{})
|
||||
|
||||
(defconst eglot--{} (make-hash-table :size 1) "The empty JSON object.")
|
||||
(defconst eglot--{} (make-hash-table :size 0) "The empty JSON object.")
|
||||
|
||||
(defun eglot--executable-find (command &optional remote)
|
||||
"Like Emacs 27's `executable-find', ignore REMOTE on Emacs 26."
|
||||
|
|
Loading…
Add table
Reference in a new issue