]> git.eshelyaron.com Git - emacs.git/commit
Properly delete inserted text after completion
authorMichal Krzywkowski <k.michal@zoho.com>
Wed, 21 Nov 2018 14:54:22 +0000 (15:54 +0100)
committerMichal Krzywkowski <k.michal@zoho.com>
Wed, 21 Nov 2018 19:24:16 +0000 (20:24 +0100)
commit0097d8d8327a783c77bed2860c4283541c6608b7
treecb4e5bf486a36ff61ee17b50f3effe299211ff14
parent2cf7905887f2137869f44c3383a55636e38b4b81
Properly delete inserted text after completion

* eglot.el (eglot-completion-at-point): In :exit-function, delete only
  the region of buffer that was inserted by completion.

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