help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reverting some 22 behavior to how 21 was


From: Allan Gottlieb
Subject: Re: reverting some 22 behavior to how 21 was
Date: Wed, 18 Jul 2007 15:28:41 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

At Wed, 18 Jul 2007 20:11:42 +0100 David Crick <dacrick@gmail.com> wrote:

> (1) In Emacs 21 I used the following .emacs lines:
>
> (add-hook 'paragraph-indent-text-mode-hook 'flyspell-mode)
> (add-hook 'paragraph-indent-text-mode-hook 'refill-mode)
>
> However, in 22 it appears these functions now "toggle," and
> I receive the message (e.g.):
>
> Toggling flyspell-mode off; better pass an explicit argument.
>
> What are the revised lines I should be using in 22 please?

I have used the following in both 21 and 22.  Modify to taste.

;; For text mode, which is my default, and derivatives
;;
(add-hook 'text-mode-hook (lambda ()
                            (turn-on-auto-fill)
                            (flyspell-mode t)))

allan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]