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