]> git.eshelyaron.com Git - emacs.git/commit
Replace eglot--with-lsp-range with a function and pcase-let
authorJoão Távora <joaotavora@gmail.com>
Wed, 16 May 2018 22:45:35 +0000 (23:45 +0100)
committerJoão Távora <joaotavora@gmail.com>
Wed, 16 May 2018 23:35:31 +0000 (00:35 +0100)
commit5db50ddd47518aa82e0be1584e7019f6ae60adbb
treeb4e8beecd5efc3a98c2abda30dd416c28f63fed3
parent40e256a1bf6d237eb5637fd726077332519338a6
Replace eglot--with-lsp-range with a function and pcase-let

* eglot.el (eglot--with-lsp-range): Remove.
(eglot--range-region): New function.
(eglot--server-textDocument/publishDiagnostics)
(eglot--hover-info, eglot-eldoc-function)
(eglot--apply-text-edits): Use it.
lisp/progmodes/eglot.el