[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: flyspell-prog-mode, flyspell-mode and different dictionary
From: |
Sébastien Gendre |
Subject: |
Re: flyspell-prog-mode, flyspell-mode and different dictionary |
Date: |
Tue, 23 Jul 2024 14:49:01 +0200 |
User-agent: |
mu4e 1.12.1; emacs 29.4 |
I checked for variable `flyspell-prog-mode-hook` with
`describe-variable`, with no success.
Joel Reicher <joel.reicher@gmail.com> writes:
> Sébastien Gendre <seb@k-7.ch> writes:
>
>> Recently, I discovered flyspell-prog-mode and wanted to use it in
>> all programming language editing. But this time, set to english.
>>
>> In the manual, I didn't found a way to set the spell check language
>> based on the mode. And there is no flyspell-prog-mode-hook.
>
> Have you checked the definition of flyspell-prog-mode?
>
> In my installation (29.4) it calls flyspell-prog-mode-hook.
>
> Possibly you are being misled by this hook being undefined by default?
>
> Regards,
>
> - Joel
signature.asc
Description: PGP signature
Re: flyspell-prog-mode, flyspell-mode and different dictionary, Stefan Monnier, 2024/07/23