Skip to content

Commit

Permalink
Allow background changes to apply immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
polhuang committed Apr 22, 2024
1 parent d28a9de commit e3abfe0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions seoul256-theme.el
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,11 @@
(setq seoul256-current-bg dark-bg)
(setq seoul256-current-bg light-bg))

(if (member theme custom-enabled-themes)
(let ((custom--inhibit-theme-enable nil))
(cherry-seoul256-apply theme style dark-fg light-fg dark-bg light-bg))
(cherry-seoul256-apply theme style dark-fg light-fg dark-bg light-bg)

(seoul256-apply theme style dark-fg light-fg dark-bg light-bg)))

(defun seoul256-switch-background ()
Expand Down

0 comments on commit e3abfe0

Please sign in to comment.