"Evan Monroig" <[EMAIL PROTECTED]> writes:

> On 6/14/06, Bastien <[EMAIL PROTECTED]> wrote:
>> "thomas knoll" <[EMAIL PROTECTED]> writes:
>> > 2. Auto-fill-mode is always on by default.
>>
>> ... and this is a good default.  The easy way is to turn it off for
>> specific modes only:
>>
>> (add-hook 'planner-mode-hook 'turn-off-auto-fill)
>
> I am curious about this, because I have the inverse problems: I would
> like to have it on by default, and have to add hooks for each modes I
> am interested in, like this
>
> (add-hook 'planner-mode-hook 'auto-fill-mode)

The following will accomplish that.

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

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
  /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Project involvement: Emacs, Muse, Planner, ERC, EMMS

Attachment: pgpquYJ2VOoMZ.pgp
Description: PGP signature

_______________________________________________
emacs-wiki-discuss mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss

Reply via email to