]> git.eshelyaron.com Git - emacs.git/commit
Add public hook eglot-managed-mode-hook
authorFelicián Németh <felician.nemeth@gmail.com>
Fri, 22 Nov 2019 15:55:04 +0000 (16:55 +0100)
committerFelicián Németh <felician.nemeth@gmail.com>
Mon, 13 Jan 2020 17:22:06 +0000 (18:22 +0100)
commitfbc29353667b88c208b2796a4e1e120edb708673
treee0cecbe339d59a20a70d7a667cc749c3ba71e893
parentf6a72c5541f3e1564476109a06f3899f5a663882
Add public hook eglot-managed-mode-hook

Per https://github.com/joaotavora/eglot/issues/354.

* eglot.el (eglot-managed-p): New function.
(eglot--managed-mode-hook): Obsolete it.
(eglot-managed-mode-hook): New hook variable.
(eglot--managed-mode): Run the new hook.

* README.md (Customization): Mention the new hook.

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