Use ispell or aspell

This commit is contained in:
Case Duckworth 2022-04-12 22:40:00 -05:00
parent 4d83762191
commit a27eb917b8
1 changed files with 2 additions and 0 deletions

View File

@ -445,6 +445,8 @@
(setup ispell
(:also-load +ispell)
(:option ispell-program-name (or (executable-find "ispell")
(executable-find "aspell")))
(put 'ispell-buffer-session-localwords
'safe-local-variable #'+ispell-safe-local-p)
(add-hook 'user-save-hook #'+ispell-move-buffer-words-to-dir-locals-hook))