mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-20 16:11:07 -05:00
Refactor DOOM init & add new init hooks
+ Add doom-init-hook and doom-post-init-hook to simplify Emacs init hooks into less ambiguous ones. + Attach former after-init-hook and emacs-startup-hook hooks to new doom init hooks. + Vastly improves daemon and tty support: preventing incorrect colors from bleeding across face class barriers, and into GUI Emacs and vice versa, when spawned with emacsclient. + Fix persp-mode breaking Emacs daemon, and ensuring that initialization is done properly in terminal Emacs (and emacsclient frames).
This commit is contained in:
@@ -6,4 +6,4 @@
|
||||
:init
|
||||
(setq evil-goggles-duration 0.1
|
||||
evil-goggles-enable-delete nil)
|
||||
(add-hook 'emacs-startup-hook #'evil-goggles-mode t))
|
||||
(add-hook 'doom-post-init-hook #'evil-goggles-mode t))
|
||||
|
Reference in New Issue
Block a user