diff options
author | Case Duckworth | 2022-04-12 22:40:00 -0500 |
---|---|---|
committer | Case Duckworth | 2022-04-12 22:40:00 -0500 |
commit | a27eb917b87b0d1cf58a5b5712dc69f808161571 (patch) | |
tree | a0afcdb0bdc18e91ac9a508044fc97ce13eb8a80 | |
parent | Rebind M-u (diff) | |
download | emacs-a27eb917b87b0d1cf58a5b5712dc69f808161571.tar.gz emacs-a27eb917b87b0d1cf58a5b5712dc69f808161571.zip |
Use ispell or aspell
-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)) |