]> git.eshelyaron.com Git - emacs.git/commit
Don't lose key bindings on mis-spelled text in flyspell-mode
authorEli Zaretskii <eliz@gnu.org>
Sun, 30 Apr 2017 18:55:58 +0000 (21:55 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 30 Apr 2017 18:55:58 +0000 (21:55 +0300)
commit3ad9d5c347739bb6c5450ed443ffa1608a94394c
tree3614d7b7550159f58e1a3bd7c7f4f2062773b9ff
parent0943cc18b18e2df90c7aa0fbc4dab72d418aa700
Don't lose key bindings on mis-spelled text in flyspell-mode

* lisp/textmodes/flyspell.el (flyspell-mouse-map): Bind mouse-2
explicitly.
(make-flyspell-overlay): If the mis-spelled text already has a
'keymap' property, make that keymap the parent of
flyspell-mouse-map, so as not to lose the parent's bindings.
(Bug#26672)
lisp/textmodes/flyspell.el