diff options
-rw-r--r-- | init.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/init.el b/init.el index d926f6b..e492abb 100644 --- a/init.el +++ b/init.el | |||
@@ -445,6 +445,8 @@ | |||
445 | 445 | ||
446 | (setup ispell | 446 | (setup ispell |
447 | (:also-load +ispell) | 447 | (:also-load +ispell) |
448 | (:option ispell-program-name (or (executable-find "ispell") | ||
449 | (executable-find "aspell"))) | ||
448 | (put 'ispell-buffer-session-localwords | 450 | (put 'ispell-buffer-session-localwords |
449 | 'safe-local-variable #'+ispell-safe-local-p) | 451 | 'safe-local-variable #'+ispell-safe-local-p) |
450 | (add-hook 'user-save-hook #'+ispell-move-buffer-words-to-dir-locals-hook)) | 452 | (add-hook 'user-save-hook #'+ispell-move-buffer-words-to-dir-locals-hook)) |