Split doom-reload-hook into before/after hooks
This commit is contained in:
parent
a835be1c40
commit
35185b2175
4 changed files with 11 additions and 8 deletions
|
@ -360,7 +360,7 @@ evil-ex-specific constructs, so we disable it solely in evil-ex."
|
|||
(setf (alist-get fn ivy-posframe-display-functions-alist)
|
||||
#'ivy-display-function-fallback))
|
||||
|
||||
(add-hook 'doom-reload-hook #'posframe-delete-all))
|
||||
(add-hook 'doom-after-reload-hook #'posframe-delete-all))
|
||||
|
||||
|
||||
(use-package! flx
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
;; HACK The fringe cannot have a buffer-local remapping on Emacs <= 26, so
|
||||
;; we jump through hoops to reset it (globally) whenever it is likely
|
||||
;; that the fringe will have lost its background color.
|
||||
(add-hook! '(doom-load-theme-hook doom-reload-hook) :append
|
||||
(add-hook! '(doom-load-theme-hook doom-after-reload-hook) :append
|
||||
#'solaire-mode-reset)
|
||||
|
||||
;; fringe can become unstyled when deleting or focusing frames
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue