]> git.eshelyaron.com Git - emacs.git/commit
Simplify eglot--signal-textdocument/didchange
authorJoão Távora <joaotavora@gmail.com>
Wed, 9 May 2018 09:58:28 +0000 (10:58 +0100)
committerJoão Távora <joaotavora@gmail.com>
Wed, 9 May 2018 22:12:42 +0000 (23:12 +0100)
commit54a59fc000f9a3040a4644b9f25a01d9fbfac3dc
treec7aedd7b4f4e8e5afaf87940f9f4a82ec38ac396
parent461d48a1d0414a2cc46ac565d75c791c117bd11d
Simplify eglot--signal-textdocument/didchange

* eglot.el (eglot--recent-before-changes)
(eglot--recent-after-changes): Delete.
(eglot--recent-changes): New var.
(eglot--outstanding-edits-p, eglot--before-change)
(eglot--after-change): Rewrite.
(eglot--signal-textDocument/didChange): Rewrite.
(eglot--signal-textDocument/didOpen): Initialize
buffer-local eglot--recent-changes here.
lisp/progmodes/eglot.el