]> git.eshelyaron.com Git - emacs.git/commit
Events buffer uses eglot-mode, source buffers use eglot-editing-mode
authorJoão Távora <joaotavora@gmail.com>
Wed, 2 May 2018 12:37:35 +0000 (13:37 +0100)
committerJoão Távora <joaotavora@gmail.com>
Wed, 2 May 2018 14:50:17 +0000 (15:50 +0100)
commit5ece72dc5cc272b60458f3166cfeb31bfa55a3f6
tree4a9838e2dcd54be42cdaccab936bb36822983d2a
parent9bd7605d12c1a842dc6806e4199e64d8e2f89a6a
Events buffer uses eglot-mode, source buffers use eglot-editing-mode

* eglot.el (eglot--special-buffer-process): New var.
(eglot--current-process): Consider eglot--special-buffer-process.
(eglot-events-buffer): Use eglot-mode
(eglot-editing-mode): New minor mode.
(eglot-mode): Turns on eglot-editing-mode maybe.
lisp/progmodes/eglot.el