commit fad171429d37f0a266e8554538637f8695ea0af4
parent 001ce15b60408a1eb7417dc089aa978626f37e2e
Author: dwrz <dwrz@dwrz.net>
Date: Wed, 22 Nov 2023 03:17:44 +0000
Fix Emacs prog and text mode init
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/emacs/init.el b/emacs/init.el
@@ -541,7 +541,8 @@
(prog-mode . flyspell-prog-mode)
(prog-mode . rainbow-mode)
(prog-mode . visual-line-mode))
- :ensure nil)
+ :ensure nil
+ :requires rainbow-mode)
(use-package rainbow-mode :defer t :ensure t)
@@ -608,7 +609,8 @@
:hook ((text-mode . flyspell-mode)
(text-mode . rainbow-mode)
(text-mode . visual-line-mode))
- :ensure nil)
+ :ensure nil
+ :requires rainbow-mode)
(use-package textsize
:config (setq textsize-default-points 19)