From aab5bfd074e57d06a79e39d7c7c4760e1f385a06 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 17 Oct 2022 21:41:28 -0500 Subject: Bankruptcy 9 --- lisp/+flyspell-correct.el | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 lisp/+flyspell-correct.el (limited to 'lisp/+flyspell-correct.el') diff --git a/lisp/+flyspell-correct.el b/lisp/+flyspell-correct.el deleted file mode 100644 index 22f8c82..0000000 --- a/lisp/+flyspell-correct.el +++ /dev/null @@ -1,24 +0,0 @@ -;;; +flyspell-correct.el --- -*- lexical-binding: t; -*- - -;;; Code: - -(require 'flyspell-correct) - -(defun +flyspell-correct-buffer (&optional prefix) - "Run `flyspell-correct-wrapper' on all misspelled words in the buffer. -With PREFIX, prompt to change the current dictionary." - (interactive "P") - (flyspell-buffer) - (when prefix - (let ((current-prefix-arg nil)) - (call-interactively #'ispell-change-dictionary))) - (+with-message "Checking spelling" - (flyspell-correct-move (point-min) :forward :rapid))) - -(defun +flyspell-correct-buffer-h (&rest _) - "Run `+flyspell-correct-buffer'. -This is suitable for placement in a hook." - (+flyspell-correct-buffer)) - -(provide '+flyspell-correct) -;;; +flyspell-correct.el ends here -- cgit 1.4.1-21-gabe81