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

Re: linewrapping in emacs



On 19/01/02 Joerg Johannes did speaketh:

> Hi List.
> 
> I have the following two lines in my .emacs file:
> 
> (auto-fill-mode 1)
> tex-mode-hook '(lambda () (font-lock-mode 1) (auto-fill-mode 1))
> 
> But I still always have to type M-x auto-fill-mode in any mode I use to get 
> linewrap. What else do I need to do?

Try this.

(add-hook 'text-mode-hook 'turn-on-auto-fill)

Mike

-- 
Michael P. Soulier <msoulier@mcss.mcmaster.ca>, GnuPG pub key: 5BC8BE08
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort."  -Harley Hahn, A Student's Guide to Unix

Attachment: pgpb0vzP0Flrj.pgp
Description: PGP signature


Reply to: