about summary refs log tree commit diff stats
path: root/lisp/+flyspell-correct.el
diff options
context:
space:
mode:
authorCase Duckworth2022-01-06 15:46:50 -0600
committerCase Duckworth2022-01-06 15:46:50 -0600
commit81152ca24289d2b08fcfe64b19164894c048524e (patch)
tree21b874b2ce94b453b9c792623877fabfdb04f340 /lisp/+flyspell-correct.el
parentAdd find-variable to +lookup-map (diff)
downloademacs-81152ca24289d2b08fcfe64b19164894c048524e.tar.gz
emacs-81152ca24289d2b08fcfe64b19164894c048524e.zip
Add +flyspell-correct-buffer
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