]> git.eshelyaron.com Git - emacs.git/commit
Rename rpc methods for clarity
authorJoão Távora <joaotavora@gmail.com>
Thu, 3 May 2018 15:14:35 +0000 (16:14 +0100)
committerJoão Távora <joaotavora@gmail.com>
Thu, 3 May 2018 15:14:35 +0000 (16:14 +0100)
commite5e9437882406c406ed401fc67faf97d523a0e8e
tree07f81f4e97fe1a7d3873f4e98f34c1942ad612a3
parent4d1c9b903d70283e88a3f35f2ebf6704aa127cd5
Rename rpc methods for clarity

* eglot.el (eglot--process-receive): Search for RPC server methods
under `eglot--server-'
(eglot-editing-mode, eglot--maybe-activate-editing-mode): Use new
signal names.
(eglot--server-window/showMessage): Rename from
eglot--window/showMessage.
(eglot--server-textDocument/publishDiagnostics): Renamed from
eglot--textDocument/publishDiagnostics.
(eglot--current-buffer-versioned-identifier): Remove.
(eglot--current-buffer-VersionedTextDocumentIdentifier): Use
eglot--versioned-identifier.
(eglot--signal-textDocument/didChange): Renamed from
eglot--maybe-signal-didChange.
(eglot--signal-textDocument/didOpen): Renamed from
eglot--signalDidOpen.
(eglot--signal-textDocument/didClose): Rename from
eglot--signalDidClose.
(eglot-flymake-backend): Call eglot--signal-textDocument/didChange.
(eglot--server-window/progress): Rename from
eglot--window/progress.
lisp/progmodes/eglot.el