Fix errors in flyspell-post-command-hook
commit74d7bb94988055a49ac8f1cbc5af43ac31255581
authorEli Zaretskii <eliz@gnu.org>
Tue, 19 Sep 2017 16:32:09 +0000 (19 19:32 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 19 Sep 2017 16:32:09 +0000 (19 19:32 +0300)
treeac47b78ec47699505809a72bd75b2dee80ac3c65
parent40fdbb01d0017e9e164a24aeb760056778975e65
Fix errors in flyspell-post-command-hook

* lisp/textmodes/ispell.el (ispell-get-decoded-string): Handle the
case of a nil Nth element of the language dictionary slot.  This
avoids errors in 'flyspell-post-command-hook' when switching
dictionaries with some spell-checkers.  (Bug#28501)
lisp/textmodes/ispell.el