From: João Távora Date: Thu, 22 Dec 2022 15:44:11 +0000 (+0000) Subject: Eglot: eglot--servers-by-xrefed-file doesn't need to be value-weak X-Git-Tag: emacs-29.0.90~1043 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=014232d3840e9d7249fe28636935b7166b85e675;p=emacs.git 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. --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index e7782ea8112..15cb1b6fad0 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -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."