diff --git a/emacs/init.org b/emacs/init.org index 27dbefa..fa57f49 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -6089,11 +6089,14 @@ Spotify in Emacs! (leader-def-key "iSp" #'counsel-spotify-previous) #+END_SRC -* ISpell +* Flyspell #+BEGIN_SRC emacs-lisp (when (executable-find "hunspell") (setq ispell-program-name "hunspell" - ispell-really-hunspell t)) + ispell-really-hunspell t)) + + (add-hook 'text-mode-hook #'flyspell-mode) + (add-hook 'prog-mode-hook #'flyspell-prog-mode) #+END_SRC * VTerm