summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2021-11-18 20:23:58 +0200
committerJuri Linkov <juri@linkov.net>2021-11-18 20:23:58 +0200
commit14271d050a30b8121358361ba671ba29493e03dd (patch)
tree45515dcfbf0266e688902bea9f1cbfffb6cad975 /lisp/emacs-lisp
parentbf824843f40a8235e2cdfc6d84d67ea2e2e96acb (diff)
downloademacs-14271d050a30b8121358361ba671ba29493e03dd.tar.gz
emacs-14271d050a30b8121358361ba671ba29493e03dd.tar.bz2
emacs-14271d050a30b8121358361ba671ba29493e03dd.zip
Fix flyspell-correct-word selected from context menu opened with the keyboard
* lisp/mouse.el (context-menu-open): Call interactively a command returned by `context-menu-map' such as `flyspell-correct-word' (bug#50067). * lisp/textmodes/flyspell.el (flyspell-correct-word): Handle the case when it's called by a key bound to `context-menu-open'. Then it should work the same way as `C-c $' typed on misspelled word where the arg `event' of `flyspell-correct-word-before-point' is nil.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions