From 4f422fb5bb4a01b57627d8609ac4540c1d4d7d7f Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Mon, 22 May 2023 18:26:07 +0200 Subject: flyspell: correct words with completing-read --- lisp/init-flyspell.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lisp') diff --git a/lisp/init-flyspell.el b/lisp/init-flyspell.el index 77f6731..1d155aa 100644 --- a/lisp/init-flyspell.el +++ b/lisp/init-flyspell.el @@ -9,14 +9,16 @@ (org-mode . flyspell-mode) (latex-mode . flyspell-mode)) - :bind (:map flyspell-mode-map - ("C-c s" . flyspell-correct-word-before-point)) - :config ;; prefer hunspell (when (executable-find "hunspell") (setq ispell-program-name "hunspell"))) +(use-package flyspell-correct + :ensure t + :bind (:map flyspell-mode-map + ("C-c s" . flyspell-correct-wrapper))) + (provide 'init-flyspell) ;;; init-flyspell.el ends here -- cgit v1.2.3