Also exempt eglot-inlay-hints-mode from desktop.el's fumblings
Reported in https://github.com/joaotavora/eglot/discussions/1183. * lisp/progmodes/eglot.el (desktop): Also exempt eglot-inlay-hints-mode from desktop.el fumblings.
This commit is contained in:
parent
1961bdb52e
commit
7385c991df
1 changed files with 4 additions and 6 deletions
|
@ -3654,13 +3654,11 @@ If NOERROR, return predicate, else erroring function."
|
||||||
|
|
||||||
;;; Hacks
|
;;; Hacks
|
||||||
;;;
|
;;;
|
||||||
;; FIXME: Although desktop.el compatibility is Emacs bug#56407, the
|
;; Emacs bug#56407, the optimal solution is in desktop.el, but that's
|
||||||
;; optimal solution agreed to there is a bit more work than what I
|
;; harder. For now, use `with-eval-after-load'. See also github#1183.
|
||||||
;; have time to right now. See
|
|
||||||
;; e.g. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=bug%2356407#68.
|
|
||||||
;; For now, just use `with-eval-after-load'
|
|
||||||
(with-eval-after-load 'desktop
|
(with-eval-after-load 'desktop
|
||||||
(add-to-list 'desktop-minor-mode-handlers '(eglot--managed-mode . ignore)))
|
(add-to-list 'desktop-minor-mode-handlers '(eglot--managed-mode . ignore))
|
||||||
|
(add-to-list 'desktop-minor-mode-handlers '(eglot-inlay-hints-mode . ignore)))
|
||||||
|
|
||||||
|
|
||||||
;;; Misc
|
;;; Misc
|
||||||
|
|
Loading…
Add table
Reference in a new issue