]> git.eshelyaron.com Git - emacs.git/commit
Eglot: ensure quick typing doesn't undermine completion exit
authorJoão Távora <joaotavora@gmail.com>
Fri, 20 Dec 2024 23:11:30 +0000 (23:11 +0000)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Dec 2024 15:18:51 +0000 (16:18 +0100)
commit00b6fe68e18a84bd6a9f8b0a771435dedf07d7cd
tree4fb9d3fb55eb4f2625177a91a821f0ff57130896
parent8253c9cd2c883e91315b9694c84877805c47ca6b
Eglot: ensure quick typing doesn't undermine completion exit

Some completion resolution requests in
eglot-completion-at-point, specifically those that might be
triggered from the :exit function, can't be cancellable, else
the completion edit or snippet will never be obtained and the
user is left with the nonsensical completion label in the
buffer.

Github-reference: https://github.com/joaotavora/eglot/issues/1474
(cherry picked from commit b71ddaf6d3ac39487302fbc27614b9de28bf6cef)
lisp/progmodes/eglot.el