summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs/.config/emacs-kj/init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el
index 8e8797e..b278de5 100644
--- a/emacs/.config/emacs-kj/init.el
+++ b/emacs/.config/emacs-kj/init.el
@@ -884,5 +884,5 @@
'font-lock-face 'calendar-iso-week-face))
(setq ispell-local-dictionary "en_US")
-(add-hook 'text-mode-hook (defun kj/flyspell-mode (&rest args) (flyspell-mode 1)))
-(add-hook 'prog-mode-hook (defun kj/flyspell-prog-mode (&rest args) (flyspell-prog-mode 1)))
+(add-hook 'text-mode-hook flyspell-mode)
+(add-hook 'prog-mode-hook flyspell-prog-mode)