]> git.eshelyaron.com Git - emacs.git/commit
Robustify previous fix against non-standard insertion bindings
authorJoão Távora <joaotavora@gmail.com>
Mon, 3 Dec 2018 12:24:26 +0000 (12:24 +0000)
committerJoão Távora <joaotavora@gmail.com>
Mon, 3 Dec 2018 12:24:26 +0000 (12:24 +0000)
commit3b9e5b1a84ada8769bdcd95f0d21674c7fc57714
tree026c6f9bd9fefc1a07a66bf896c7146424fb92a9
parent4a9914c0e66ebb2ba41e894a58d2598e8dc44687
Robustify previous fix against non-standard insertion bindings

* eglot.el (eglot--managed-mode): Manage post-self-insert-hook.
(eglot--last-inserted-char): New variable.
(eglot--post-self-insert-hook): Set it.
(eglot--before-change): Reset it.
(eglot--CompletionParams): Use it.

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