diff options
author | Martin Polden <mpolden@mpolden.no> | 2023-05-22 18:26:07 +0200 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2023-05-22 18:26:07 +0200 |
commit | 4f422fb5bb4a01b57627d8609ac4540c1d4d7d7f (patch) | |
tree | 51d0c70df3264e8d06e52cffdff2e2ef536216cb /lisp | |
parent | 274f830b470d54756b0b5f4884e035d2f945c002 (diff) |
flyspell: correct words with completing-read
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-flyspell.el | 8 |
1 files changed, 5 insertions, 3 deletions
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 |