]> git.eshelyaron.com Git - emacs.git/commit
Avoid double shutdowns and simplify shutdown logic
authorJoão Távora <joaotavora@gmail.com>
Wed, 1 Jan 2020 22:05:29 +0000 (22:05 +0000)
committerJoão Távora <joaotavora@gmail.com>
Thu, 2 Jan 2020 18:44:33 +0000 (18:44 +0000)
commitedbc24d9cd6e05291531a65a78bb960439ceaae2
tree6b36b32f987c180fb1eb53eaf1f119519820bc55
parent234bbd10321cb668df253323a9033cf692642c0c
Avoid double shutdowns and simplify shutdown logic

* eglot.el (eglot-shutdown): Don't turn off eglot--managed-mode here.
(eglot--on-shutdown): Rather here, but without autoshutdown.
(eglot--managed-mode): Don't check eglot--shutdown-requested.

GitHub-reference: fix https://github.com/joaotavora/eglot/issues/389
lisp/progmodes/eglot.el