summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/mm-theme.el
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-19 17:04:33 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-10-19 17:04:33 +0200
commit1aa59f16f6a0a895d463ea6066ffba92b510be2d (patch)
treeb89676bea3324f932367911cd48e41bcdf19d471 /.config/emacs/modules/mm-theme.el
parent473e1b52323bcd14332b4ce16c88e41b91c55d51 (diff)
emacs: Make use of ‘after-init’
Diffstat (limited to '.config/emacs/modules/mm-theme.el')
-rw-r--r--.config/emacs/modules/mm-theme.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/.config/emacs/modules/mm-theme.el b/.config/emacs/modules/mm-theme.el
index 8aa82cd..c49c13f 100644
--- a/.config/emacs/modules/mm-theme.el
+++ b/.config/emacs/modules/mm-theme.el
@@ -181,16 +181,15 @@ See also the `mm-theme-background-opacity' variable."
(use-package spacious-padding
:ensure t
- :demand t
- :config
- (spacious-padding-mode))
+ :if (display-graphic-p)
+ :hook after-init)
;;; Pretty Page Boundaries
(use-package page-break-lines
:ensure t
- :demand t
+ :hook (after-init . global-page-break-lines-mode)
:init
(add-hook
'change-major-mode-hook