Reinitialize ispell-really-enchant when changing the speller

* lisp/textmodes/ispell.el (ispell-check-version): Reset also
ispell-really-enchant.  (Bug#34019)

Copyright-paperwork-exempt: yes
This commit is contained in:
Philip K 2019-01-09 00:37:48 +01:00 committed by Eli Zaretskii
parent 9845044fb6
commit 0f716557c5

View file

@ -723,6 +723,7 @@ Otherwise returns the library directory name, if that is defined."
;; Make sure these variables are (re-)initialized to the default value
(setq ispell-really-aspell nil
ispell-really-hunspell nil
ispell-really-enchant nil
ispell-encoding8-command nil)
(goto-char (point-min))