]> git.eshelyaron.com Git - emacs.git/commit
Fix a bug when response to definitions request is a single location
authorMichal Krzywkowski <k.michal@zoho.com>
Sun, 4 Nov 2018 15:59:05 +0000 (16:59 +0100)
committerMichal Krzywkowski <k.michal@zoho.com>
Sun, 4 Nov 2018 16:12:37 +0000 (17:12 +0100)
commitee58d92a7de1c8b1914c77177a7d5e755f1de827
treeadfd28f9ed575192cd95cafb5ca0f519ed53d51d
parent9e720cbea4949d65d280881d0e5f45b5a727526d
Fix a bug when response to definitions request is a single location

It's valid to return just a single Location for a definitions request.

* eglot.el (xref-backend-definitions): Coerce response to a vector.
lisp/progmodes/eglot.el