]> code.delx.au - gnu-emacs/commit
Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
authorEli Zaretskii <eliz@gnu.org>
Thu, 31 Dec 2015 15:44:07 +0000 (17:44 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 31 Dec 2015 15:44:07 +0000 (17:44 +0200)
commit6d11f6ed9a1afa6f3903fffeb58159beedeb1d14
tree318cac683bad565a0cb7c91b45169079173f51c5
parentbb83bb11f9c38199e413045300acf6ef04f67b4a
Allow to invoke original M-TAB binding in 'flyspell-prog-mode'

* lisp/textmodes/flyspell.el (flyspell-prog-mode): Record the
original M-TAB binding in a buffer-local variable.
(flyspell-auto-correct-word): Invoke the original binding of M-TAB
if that is recorded, when point is in a place where flyspell
should not be active (e.g., because the user turned on
'flyspell-prog-mode').  (Bug#18533)
lisp/textmodes/flyspell.el