emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 014232d384: Eglot: eglot--servers-by-xrefed-file doesn't need t


From: João Távora
Subject: emacs-29 014232d384: Eglot: eglot--servers-by-xrefed-file doesn't need to be value-weak
Date: Thu, 22 Dec 2022 10:43:11 -0500 (EST)

branch: emacs-29
commit 014232d3840e9d7249fe28636935b7166b85e675
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    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.
---
 lisp/progmodes/eglot.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index e7782ea811..15cb1b6fad 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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]