summary refs log tree commit diff stats
path: root/lisp/+flyspell-correct.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/+flyspell-correct.el')
-rw-r--r--lisp/+flyspell-correct.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/lisp/+flyspell-correct.el b/lisp/+flyspell-correct.el new file mode 100644 index 0000000..473b054 --- /dev/null +++ b/lisp/+flyspell-correct.el
@@ -0,0 +1,12 @@
1;;; +flyspell-correct.el --- -*- lexical-binding: t; -*-
2
3;;; Code:
4
5(defun +flyspell-correct-buffer (&rest _) ; Enables this to be run as a hook
6 "Run `flyspell-correct-wrapper' on all misspelled words in the buffer."
7 (interactive)
8 (+with-message "Checking spelling"
9 (flyspell-correct-move (point-min) :forward :rapid)))
10
11(provide '+flyspell-correct)
12;;; +flyspell-correct.el ends here