Subject: bug#5532: 23.1.92; have text-mode-hook, need "program-mode-hook"

From: [email-masked]
Date: Sat, 06 Feb 2010 02:40:28 +0800

There is text-mode-hook, so one can call flyspell-mode,
But there is no program-mode-hook, so one can call flyspell-prog-mode.
One instead must call flyspell-prog-mode once in perl-mode-hook, once in
sh-mode-hook, once in ...

See also
(info "(emacs) Text Mode")
(info "(emacs) Program Modes").