Subject: bug#50241: flyspell doesn't work with multiple dictionaries

From: Eli Zaretskii <[email-masked]>
Date: Sat, 28 Aug 2021 22:36:26 +0300

> From: Konstantin Kharlamov <[email-masked]>
> Cc: [email-masked]
> Date: Sat, 28 Aug 2021 22:05:55 +0300
> 
> On Sat, 2021-08-28 at 21:56 +0300, Eli Zaretskii wrote:
> > 
> > You miss this step at the end:
> > 
> >   (ispell-change-dictionary "ru_RU,en_US")
> > 
> > It tells Emacs to restart Hunspell with these two dictionaries.
> 
> Thank you! Running this command results in error:
> 
> 	(error "Undefined dictionary: ru_RU,en_US")

Strange.  Here, it doesn't error out.  I did this:

  M-x flyspell-mode RET
  M-x ispell-hunspell-add-multi-dic RET ru_RU,en_US RET
  M-x ispell-change-dictionary RET ru_RU,en_US RET

And I don't get any errors, and flyspell-mode works for both Russian
and English.