From c183aa717401d9caf2a6dd7419572a0787d82fa8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 22 Apr 2022 14:48:24 +0200 Subject: [PATCH] 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. --- modules/app/everywhere/config.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/app/everywhere/config.el b/modules/app/everywhere/config.el index 4e5e04247..107dc963b 100644 --- a/modules/app/everywhere/config.el +++ b/modules/app/everywhere/config.el @@ -8,6 +8,12 @@ :config (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 (doom-modeline-def-segment emacs-everywhere (concat