diff options
author | Eli Zaretskii <eliz@gnu.org> | 2018-05-06 21:20:31 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2018-06-02 12:35:42 +0300 |
commit | 35c1ab1419174f72010c745d963a55b6c183443c (patch) | |
tree | ef34c1f128009ff1c03b645b338e2ebb3dba258c /lisp/emacs-lisp/lisp.el | |
parent | aac541e75e2c22d05752025c2087ae2eea4cb525 (diff) | |
download | emacs-35c1ab1419174f72010c745d963a55b6c183443c.tar.gz emacs-35c1ab1419174f72010c745d963a55b6c183443c.tar.bz2 emacs-35c1ab1419174f72010c745d963a55b6c183443c.zip |
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.
(cherry picked from commit 91e582a31ada28fab5ae55bdbf959a9d30796587)
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions