]> git.eshelyaron.com Git - emacs.git/commit
Flush pending changes to server before code actions request
authorJoão Távora <joaotavora@gmail.com>
Sat, 30 Jan 2021 18:01:19 +0000 (18:01 +0000)
committerJoão Távora <joaotavora@gmail.com>
Sat, 30 Jan 2021 18:01:19 +0000 (18:01 +0000)
commitc266aa6b360a683f50b3370942fc7ebfcafc747a
tree6416c462a9bb380e06f0260a97f914f4efd7f5fa
parent93eb72de229a2774198364be7acb7131a71222cb
Flush pending changes to server before code actions request

Otherwise the actions returned by the server might be stale when the
user selects them.

* eglot.el (eglot-code-actions): Issue jsonrpc-request with deferred=t.

GitHub-reference: fix https://github.com/joaotavora/eglot/issues/609
lisp/progmodes/eglot.el