fix(everywhere): inhibit local-vars hooks

Indirectly suppresses LSP (and other) servers, which will likely not
function correctly in emacs-everywhere's temp buffers anyway.
This commit is contained in:
Henrik Lissner 2022-04-22 14:48:24 +02:00
parent 7640631300
commit c183aa7174
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -8,6 +8,12 @@
:config :config
(set-yas-minor-mode! 'emacs-everywhere-mode) (set-yas-minor-mode! 'emacs-everywhere-mode)
;; HACK Inhibit MAJOR-MODE-local-vars-hook in emacs-everywhere buffers,
;; because Doom commonly starts servers and other extraneous services on
;; this hook, which will rarely work well in emacs-everywhere's temporary
;; buffers anyway.
(setq-hook! 'emacs-everywhere-init-hooks doom-inhibit-local-var-hooks t)
(after! doom-modeline (after! doom-modeline
(doom-modeline-def-segment emacs-everywhere (doom-modeline-def-segment emacs-everywhere
(concat (concat