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

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

Re: Can't activate auto-fill-mode for fundamental (default) mode *from .


From: Kai Großjohann
Subject: Re: Can't activate auto-fill-mode for fundamental (default) mode *from .emacs*...
Date: Wed, 29 Jan 2003 14:59:17 +0100
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3.50 (i686-pc-linux-gnu)

seberino@spawar.navy.mil (Christian Seberino) writes:

> I cannot seem to get .emacs to turn on auto-fill-mode for default/fundamental
> mode?... Please help...
>
> This doesn't make emacs default to auto-fill-mode...
>
>    (add-hook 'fundamental-mode-hook 'turn-on-auto-fill)

Maybe it is best to turn on auto-fill for text-like modes and then
tell Emacs to use text-mode as the default major mode?

(setq default-major-mode 'text-mode)
(add-hook 'text-mode-hook 'turn-on-auto-fill)
-- 
Ambibibentists unite!


reply via email to

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