]> git.eshelyaron.com Git - emacs.git/commit
Simplify some function calling infrastructure
authorJoão Távora <joaotavora@gmail.com>
Wed, 16 May 2018 23:30:53 +0000 (00:30 +0100)
committerJoão Távora <joaotavora@gmail.com>
Wed, 16 May 2018 23:35:31 +0000 (00:35 +0100)
commit0eb1ef8d36124a63d211c7d7f7c16ba17cbed975
treeedf5626d214b1979f642b2e67e96a334c9d6502c
parent5db50ddd47518aa82e0be1584e7019f6ae60adbb
Simplify some function calling infrastructure

eglot--mapply is a confusing abstraction. Hide some of that confusion
behind eglot--lambda. More stably dispatch server notifications and
requests without introspecting their contents.

* eglot.el (eglot--process-receive): Simplify.
(eglot--async-request): Improve doc.
(eglot--request): Simplify.
(eglot--mapply): Remove.
(xref-backend-identifier-completion-table)
(xref-backend-definitions, xref-backend-references)
(xref-backend-apropos, eglot-completion-at-point)
(eglot-eldoc-function, eglot-imenu, eglot--apply-text-edits):
Don't use eglot--mapply, use normal mapcar/mapc.
lisp/progmodes/eglot.el