diff options
author | Case Duckworth | 2022-01-06 15:46:50 -0600 |
---|---|---|
committer | Case Duckworth | 2022-01-06 15:46:50 -0600 |
commit | 81152ca24289d2b08fcfe64b19164894c048524e (patch) | |
tree | 21b874b2ce94b453b9c792623877fabfdb04f340 /lisp | |
parent | Add find-variable to +lookup-map (diff) | |
download | emacs-81152ca24289d2b08fcfe64b19164894c048524e.tar.gz emacs-81152ca24289d2b08fcfe64b19164894c048524e.zip |
Add +flyspell-correct-buffer
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/+flyspell-correct.el | 12 |
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 | ||