]> git.eshelyaron.com Git - emacs.git/commit
Don't remove highlight of misspelled word on pdict save
authorEli Zaretskii <eliz@gnu.org>
Sun, 6 May 2018 18:20:31 +0000 (21:20 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 6 May 2018 18:20:31 +0000 (21:20 +0300)
commit91e582a31ada28fab5ae55bdbf959a9d30796587
tree654a9b0d243760216aaf1aea5671f21876cb8a29
parent6464a8d702d56f26d34d989a9182396cdc6197a8
Don't remove highlight of misspelled word on pdict save

* lisp/textmodes/ispell.el (ispell-pdict-save): Don't restart
flyspell-mode, as bug#11963, which this was supposed to fix, is
fixed better by ispell-command-loop, when the user types 'i' or
'a'.  Restarting Flyspell mode when the personal dictionary is
saved caused bug#31372 as side effect.
(ispell-command-loop): Test 'flyspell-mode', not whether
flyspell-unhighlight-at is fboundp, to determine whether Flyspell
mode is turned on in the current buffer.
(flyspell-unhighlight-at): Add declare-function form for it.
lisp/textmodes/ispell.el