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

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

Re: auto-fill-mode


From: drkm
Subject: Re: auto-fill-mode
Date: Wed, 22 Jun 2005 16:30:31 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (windows-nt)

Jochen Küpper <jochen@fhi-berlin.mpg.de> writes:

> gooliver <gooliverNOSP@Mlibero.it> writes:

>> how to set auto-fill-mode permanently?

> Put (auto-fill-mode 1) into .Emacs. Do you know C-h f (aka
> describe-function) and C-h v (describe-variable) ?

  And 'C-h i'?

    ,----[ (info "(emacs)Auto Fill") ]
    | Auto Fill mode is a minor mode which is enabled or disabled
    | for each buffer individually.
    `----

  So only adding (auto-fill-mode 1) in his '.emacs.el' is not
enough.  He has to add this in the hook of each major mode for
which he want Auto Fill Mode enabled (and can in addition use
'turn-on-auto-fill'):

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

--drkm


reply via email to

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