]> git.eshelyaron.com Git - emacs.git/commit
Tweak some details, fix some bugs
authorJoão Távora <joaotavora@gmail.com>
Fri, 15 Jul 2022 09:25:55 +0000 (10:25 +0100)
committerJoão Távora <joaotavora@gmail.com>
Fri, 15 Jul 2022 09:25:55 +0000 (10:25 +0100)
commit9dbc18cbfa5c838453a2036c8d37c673bbc8de1f
tree46cb77578973fd826d98fc474977140ce66167d1
parentb59fa2548e5ec86c3f439fd59ad46abf8840a8ea
Tweak some details, fix some bugs

eglot--recover-workspace-symbol-meta had a bug that still made it
choke on improper lists.

Also, when simply M-. to the thing at point, let's not lose time on
iterating a potentially out-of-date eglot--workspace-symbols-cache.
So clear it early in the pre-command-hook.

* eglot.el (eglot--workspace-symbols-cache): Move up.
(eglot--pre-command-hook): Clear eglot--workspace-symbols-cache here.
(eglot--recover-workspace-symbol-meta): Check for consp.

GitHub-reference: per https://github.com/joaotavora/eglot/issues/131
lisp/progmodes/eglot.el