summary refs log tree commit diff stats
path: root/lisp/+flyspell-correct.el
blob: 473b054b7fc5b204a572acb349f8351300f9813d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
;;; +flyspell-correct.el ---                         -*- lexical-binding: t; -*-

;;; Code:

(defun +flyspell-correct-buffer (&rest _)  ; Enables this to be run as a hook
  "Run `flyspell-correct-wrapper' on all misspelled words in the buffer."
  (interactive)
  (+with-message "Checking spelling"
    (flyspell-correct-move (point-min) :forward :rapid)))

(provide '+flyspell-correct)
;;; +flyspell-correct.el ends here