]> git.eshelyaron.com Git - emacs.git/commit
Prevent desktop.el from saving/restoring eglot--managed-mode
authorJoão Távora <joaotavora@gmail.com>
Thu, 7 Jul 2022 11:30:03 +0000 (12:30 +0100)
committerJoão Távora <joaotavora@gmail.com>
Thu, 7 Jul 2022 11:32:32 +0000 (12:32 +0100)
commit6c8aee268d81ef616169d79ea5bd0331aebc25ee
treeb49d35dde456cfac4fe39b39bc77b4b5c9261f56
parent9ffcd537f82ecb05996c49014c5b72009134a927
Prevent desktop.el from saving/restoring eglot--managed-mode

Although desktop.el compatibility is Emacs bughttps://github.com/joaotavora/eglot/issues/56407, the optimal
solution agreed to there is a bit more work than what I have time to
right now.  See e.g.
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=bug%2356407https://github.com/joaotavora/eglot/issues/68.  For
now, just use `with-eval-after-load'

* eglot.el (Hacks desktop): Add eglot--managed-mode to
desktop-minor-mode-handlers

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