diff options
author | Case Duckworth | 2022-01-06 18:04:18 -0600 |
---|---|---|
committer | Case Duckworth | 2022-01-06 18:04:18 -0600 |
commit | 1aa0df763136f38255416a2c3c3f2dd0d4c5327d (patch) | |
tree | 4fe8574334c85d8c402703c7429496708d755fc4 /lisp/+flyspell-correct.el | |
parent | Fixup +defvar to be in line with defvar (diff) | |
parent | Add /POKE stub command (diff) | |
download | emacs-1aa0df763136f38255416a2c3c3f2dd0d4c5327d.tar.gz emacs-1aa0df763136f38255416a2c3c3f2dd0d4c5327d.zip |
Merge branch 'main' of https://tildegit.org/acdw/emacs
Diffstat (limited to 'lisp/+flyspell-correct.el')
-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 | ||