The attached patch allows users to enable spell checking in prog modes by customization means. Thanks to `flyspell-prog-mode', the spell checking is done in comments and strings only.