summaryrefslogtreecommitdiff
path: root/doc/emacs/fixit.texi
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2020-08-15 02:53:35 +0200
committerStefan Kangas <stefankangas@gmail.com>2020-08-16 19:40:43 +0200
commit1eae0a8784f5c2635f9dda1b78066ecee01dec10 (patch)
tree8b27de680ee3125c858b4cba9812d2d637ea156a /doc/emacs/fixit.texi
parenta0653f809f8b39f5b0a62a1043c3b11dc229054c (diff)
downloademacs-1eae0a8784f5c2635f9dda1b78066ecee01dec10.tar.gz
Add new option flyspell-correct-on-mouse-3
* lisp/textmodes/flyspell.el (flyspell-correct-on-mouse-3): New option to bind 'flyspell-correct-word' to 'mouse-3'. (flyspell--set-correct-on-mouse-3): New function to update option. (flyspell-mode): Update 'flyspell-mouse-map' if above option is set. * doc/emacs/fixit.texi (Spelling): Mention the new option. * etc/NEWS: Announce the new option.
Diffstat (limited to 'doc/emacs/fixit.texi')
-rw-r--r--doc/emacs/fixit.texi10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/emacs/fixit.texi b/doc/emacs/fixit.texi
index 5046146dda6..507e780f58e 100644
--- a/doc/emacs/fixit.texi
+++ b/doc/emacs/fixit.texi
@@ -445,12 +445,14 @@ use @code{flyspell-region} or @code{flyspell-buffer} for that.
@findex flyspell-correct-word-before-point
When Flyspell mode highlights a word as misspelled, you can click on
it with @kbd{mouse-2} (@code{flyspell-correct-word}) to display a menu
-of possible corrections and actions. In addition, @kbd{C-.} or
+of possible corrections and actions. If you want this menu on
+@kbd{mouse-3} instead, customize the variable
+@code{flyspell-correct-on-mouse-3}. In addition, @kbd{C-.} or
@kbd{@key{ESC}-@key{TAB}} (@code{flyspell-auto-correct-word}) will
propose various successive corrections for the word at point, and
-@w{@kbd{C-c $}} (@code{flyspell-correct-word-before-point}) will pop up a
-menu of possible corrections. Of course, you can always correct the
-misspelled word by editing it manually in any way you like.
+@w{@kbd{C-c $}} (@code{flyspell-correct-word-before-point}) will pop
+up a menu of possible corrections. Of course, you can always correct
+the misspelled word by editing it manually in any way you like.
@findex flyspell-prog-mode
Flyspell Prog mode works just like ordinary Flyspell mode, except