summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.org16
1 files changed, 16 insertions, 0 deletions
diff --git a/config.org b/config.org index 5debae1..e24fddf 100644 --- a/config.org +++ b/config.org
@@ -1527,6 +1527,22 @@ don't know if it's that useful.
1527 (add-hook 'text-mode-hook #'hook--wc-mode-no-keybinds) 1527 (add-hook 'text-mode-hook #'hook--wc-mode-no-keybinds)
1528#+end_src 1528#+end_src
1529 1529
1530** Spell checking
1531
1532Let's use =hunspell=.
1533
1534#+begin_src emacs-lisp :noweb-ref packages
1535 (with-eval-after-load "ispell"
1536 (setenv "LANG" "en_US")
1537 (setq-default ispell-program-name "hunspell"
1538 ispell-dictionary "en_US")
1539 (ispell-set-spellchecker-params))
1540
1541 (setq ispell-personal-dictionary "~/.hunspell_personal")
1542 (unless (file-exists-p ispell-personal-dictionary)
1543 (write-region "" nil ispell-personal-dictionary nil 0))
1544#+end_src
1545
1530* Programming 1546* Programming
1531 1547
1532** Comments 1548** Comments