diff --git a/README.md b/README.md index 21d0def..584c6b7 100644 --- a/README.md +++ b/README.md @@ -794,6 +794,9 @@ And [add the elpaca bootstrap code](https://github.com/progfolio/elpaca?tab=read ;; expression for a cleaner display. (add-hook 'dired-mode-hook #'dired-hide-details-mode) (add-hook 'dired-mode-hook #'dired-omit-mode) + +;; Toggle on-the-fly spell checking (Flyspell mode). +(add-hook text-mode-hook #'flyspell-mode) ``` It is also recommended to read the following articles: diff --git a/init.el b/init.el index 24f3cb2..b9c9f5f 100644 --- a/init.el +++ b/init.el @@ -507,10 +507,22 @@ ;; `fido-vertical-mode' (setq icomplete-compute-delay 0.01) +;;; flyspell + +(setq flyspell-issue-welcome-flag nil) + +;; Greatly improves flyspell performance by preventing messages from being +;; displayed for each word when checking the entire buffer. +(setq flyspell-issue-message-flag nil) + +;;; ispell + ;; In Emacs 30 and newer, disable Ispell completion to avoid annotation errors ;; when no `ispell' dictionary is set. (setq text-mode-ispell-word-completion nil) +(setq ispell-silently-savep t) + ;;; ibuffer (setq ibuffer-formats