mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07:00
Eglot: run eglot-managed-mode-hook when turning off (bug#70958)
* lisp/progmodes/eglot.el (eglot--managed-mode): Run eglot-managed-mode-hook.
This commit is contained in:
parent
a2ada90948
commit
1a9128e020
1 changed files with 1 additions and 0 deletions
|
|
@ -2044,6 +2044,7 @@ Use `eglot-managed-p' to determine if current buffer is managed.")
|
|||
(when eglot--current-flymake-report-fn
|
||||
(eglot--report-to-flymake nil)
|
||||
(setq eglot--current-flymake-report-fn nil))
|
||||
(run-hooks 'eglot-managed-mode-hook)
|
||||
(let ((server eglot--cached-server))
|
||||
(setq eglot--cached-server nil)
|
||||
(when server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue