]> git.eshelyaron.com Git - emacs.git/commit
Rework commands for connecting and reconnecting
authorJoão Távora <joaotavora@gmail.com>
Wed, 2 May 2018 14:06:50 +0000 (15:06 +0100)
committerJoão Távora <joaotavora@gmail.com>
Wed, 2 May 2018 14:50:17 +0000 (15:50 +0100)
commitdd467a4706c693dd8a66392d69e74100497ddb04
tree2bbcad409dfab26479cb18fb4c9f5e6aedd40e76
parent4602fc02aefa84339b4be3a7fe23d44a4a4af00c
Rework commands for connecting and reconnecting

* eglot.el (eglot--current-process-or-lose): Add doc.
(eglot--command): Remove.
(eglot--bootstrap-fn): New process-local variable.
(eglot--connect): Redesign.
(eglot-make-local-process): New function.
(eglot-reconnect): New interactive command.
(eglot-new-process): Redesign.
(eglot--process-sentinel): Add doc.
(eglot--protocol-initialize): Rework.
(eglot--mode-line-format): Use eglot-reconnect.
lisp/progmodes/eglot.el