mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
Eglot: eglot--servers-by-xrefed-file doesn't need to be value-weak
* lisp/progmodes/eglot.el (eglot--servers-by-xrefed-file): Doesn't need to be weak.
This commit is contained in:
parent
bbe35c280c
commit
014232d384
@ -908,8 +908,7 @@ PRESERVE-BUFFERS as in `eglot-shutdown', which see."
|
||||
do (with-demoted-errors "[eglot] shutdown all: %s"
|
||||
(cl-loop for s in ss do (eglot-shutdown s nil nil preserve-buffers)))))
|
||||
|
||||
(defvar eglot--servers-by-xrefed-file
|
||||
(make-hash-table :test 'equal :weakness 'value))
|
||||
(defvar eglot--servers-by-xrefed-file (make-hash-table :test 'equal))
|
||||
|
||||
(defun eglot--on-shutdown (server)
|
||||
"Called by jsonrpc.el when SERVER is already dead."
|
||||
|
Loading…
Reference in New Issue
Block a user