diff options
-rw-r--r-- | init.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init.el b/init.el index 023faa3..67f9a7a 100644 --- a/init.el +++ b/init.el | |||
@@ -349,8 +349,8 @@ | |||
349 | (write-region "" nil ispell-personal-dictionary nil 0)) | 349 | (write-region "" nil ispell-personal-dictionary nil 0)) |
350 | 350 | ||
351 | ;; add hooks | 351 | ;; add hooks |
352 | (add-hook 'text-mode #'flyspell-mode) | 352 | (add-hook 'text-mode-hook #'flyspell-mode) |
353 | (add-hook 'prog-mode #'flyspell-prog-mode)) | 353 | (add-hook 'prog-mode-hook #'flyspell-prog-mode)) |
354 | 354 | ||
355 | ;;;; Etc. good defaults | 355 | ;;;; Etc. good defaults |
356 | (setc custom-file (acdw/in-dir "custom.el") | 356 | (setc custom-file (acdw/in-dir "custom.el") |