Subject: bug#8026: say how to turn of Flyspell mode in more than just text buffers

From: [email-masked]
Date: Sun, 13 Feb 2011 07:55:15 +0800

In (info "(emacs) Spelling") we see:

     Flyspell mode is a fully-automatic way to check spelling as you edit
  in Emacs.  It operates by checking words as you change or insert them.
  When it finds a word that it does not recognize, it highlights that
  word.  This does not interfere with your editing, but when you see the
  highlighted word, you can move to it and fix it.  Type `M-x
  flyspell-mode' to enable or disable this mode in the current buffer.  To
  enable `flyspell-mode' in all text mode buffers, add `turn-on-flyspell'
  to `text-mode-hook'.

Kindly please mention also how to:

*Add it to all buffers, not just text mode.

*And then how to exclude it from some other buffers.

*Also don't just say
  add `turn-on-flyspell' to `text-mode-hook'.
but give the actual code needed.