tools/flycheck: speed up buffer-wide flyspell checks

This commit is contained in:
Henrik Lissner 2019-09-28 12:32:33 -04:00
parent 67617254bc
commit 7c8badc8fe
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -44,7 +44,10 @@
;;;###package flyspell
(progn ; built-in
(setq flyspell-issue-welcome-flag nil)
(setq flyspell-issue-welcome-flag nil
;; Significantly speeds up flyspell, which would otherwise print
;; messages for every word when checking the entire buffer
flyspell-issue-message-flag nil)
(when (featurep! +prog)
(add-hook 'prog-mode-hook #'flyspell-prog-mode))