]> git.eshelyaron.com Git - emacs.git/commit
Add new option flyspell-correct-on-mouse-3
authorStefan Kangas <stefankangas@gmail.com>
Sat, 15 Aug 2020 00:53:35 +0000 (02:53 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Sun, 16 Aug 2020 17:40:43 +0000 (19:40 +0200)
commit1eae0a8784f5c2635f9dda1b78066ecee01dec10
tree8b27de680ee3125c858b4cba9812d2d637ea156a
parenta0653f809f8b39f5b0a62a1043c3b11dc229054c
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.
doc/emacs/fixit.texi
etc/NEWS
lisp/textmodes/flyspell.el