]> git.eshelyaron.com Git - emacs.git/commit
Cache buffer's managing server
authorJoão Távora <joaotavora@gmail.com>
Mon, 25 Jun 2018 16:37:43 +0000 (17:37 +0100)
committerJoão Távora <joaotavora@gmail.com>
Mon, 25 Jun 2018 16:48:03 +0000 (17:48 +0100)
commit973b0255229f0d5fa9aaf141743584c969293d05
treec6b24c29f6a04fb68326734630b6d547f6f5e4bb
parent9b3ef1315ce3d0cb3762a92158a7241af31dd6cc
Cache buffer's managing server

* eglot.el (eglot--cached-current-server): New variable.
(eglot--managed-mode-onoff): Set it.
(eglot--current-server): Read it.
(eglot--maybe-activate-editing-mode): Add assertion.

GitHub-reference: close https://github.com/joaotavora/eglot/issues/32
lisp/progmodes/eglot.el