]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix a bug introduced by previous bugfix
authorJoão Távora <joaotavora@gmail.com>
Fri, 9 Nov 2018 01:46:55 +0000 (01:46 +0000)
committerJoão Távora <joaotavora@gmail.com>
Fri, 9 Nov 2018 01:46:55 +0000 (01:46 +0000)
This commit fixes a bug but introduced another when completing a
symbol in xref-find-definitions.

commit ee58d92a7de1c8b1914c77177a7d5e755f1de827
Author: Michał Krzywkowski <k.michal@zoho.com>
Date:   Sun Nov 4 16:59:05 2018 +0100

* eglot.el (xref-backend-identifier-completion-table): Use vector.

lisp/progmodes/eglot.el

index e17717452b420fa8cea7ece4e847113e29d6d57e..576d7f39d31f6192da1893e8d71423e4e2b8888c 100644 (file)
@@ -1374,7 +1374,7 @@ DUMMY is ignored."
                                     :position (plist-get
                                                (plist-get location :range)
                                                :start))
-                              :locations (list location)
+                              :locations (vector location)
                               :kind kind
                               :containerName containerName))
                 (jsonrpc-request server