aboutsummaryrefslogtreecommitdiff
path: root/common/.config
diff options
context:
space:
mode:
Diffstat (limited to 'common/.config')
-rw-r--r--common/.config/emacs/init.el.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/.config/emacs/init.el.org b/common/.config/emacs/init.el.org
index 34a6f7e..0df73a0 100644
--- a/common/.config/emacs/init.el.org
+++ b/common/.config/emacs/init.el.org
@@ -458,8 +458,8 @@ Set up =flycheck= and =flyspell= for syntax and spell checking respectively.
:config
(add-hook 'after-init-hook #'global-flycheck-mode))
- (require 'flyspell)
- (add-hook 'text-mode-hook #'flyspell-mode)
+ (eval-after-load "flyspell" '(add-hook 'text-mode-hook #'flyspell-mode))
+
(use-package flyspell-correct
:after flyspell
:bind