[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: flyspell-mode
From: |
Tassilo Horn |
Subject: |
Re: flyspell-mode |
Date: |
Thu, 06 Jul 2006 11:15:40 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
Paul Cizmas <cizmas@mac.com> writes:
Hi Paul,
> I added in .emacs the line
>
> (setq flyspell-mode t)
Setting a mode's variable has no effect at all. These are only used
internally to check if a mode is turned on. Instead use the mode's
function. When you invoke `M-x flyspell-mode' you do exactly that.
Have a look at the function's documentation:
,----[ C-h f flyspell-mode RET ]
| flyspell-mode is an interactive autoloaded Lisp function in `flyspell'.
| It is bound to <menu-bar> <tools> <spell> <flyspell-mode>.
| (flyspell-mode &optional ARG)
|
| Minor mode performing on-the-fly spelling checking.
| This spawns a single Ispell process and checks each word.
| The default flyspell behavior is to highlight incorrect words.
| With no argument, this command toggles Flyspell mode.
| With a prefix argument ARG, turn Flyspell minor mode on iff ARG is
| positive.
`----
So put this in your ~/.emacs:
(flyspell-mode 1)
The argument 1 prevents toggling off the mode when you load your .emacs
another time.
Bye,
Tassilo
--
"Emacs is not a development tool but a way of life."
- David Kastrup in alt.religion.emacs -
- flyspell-mode, Paul Cizmas, 2006/07/06
- Re: flyspell-mode,
Tassilo Horn <=