This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
Subject: Re: spell checker as word does From: Knut Forkalsrud <knut@forkalsrud.org> Date: Fri, 08 Dec 2000 22:12:36 GMT Colin Walters <walters+n@cis.ohio-state.edu> writes: > Does adding > > (add-hook 'text-mode-hook 'flyspell-mode) > > to your ~/.emacs file help? I suggested the same to another user not long ago, and got the following kind correction from Stefan Monnier: >>>>>> "Knut" == Knut Forkalsrud <knut@forkalsrud.org> writes: >> (add-hook 'text-mode-hook 'flyspell-mode) > > Actually, calling flyspell-mode like that just toggles the mode, > so it might in some rare circumstances end up turning it off > rather than on. Try > > (add-hook 'text-mode-hook (lambda () (flyspell-mode 1))) > > > -- Stefan > > PS: I still have hope to convince Emacs developers that this > toggling behavior is a misfeature and should be changed.