Re: auto-fill-mode on or off?
Michael Olson <[email protected]> Tue, 13 Jun 2006 23:16:36 -0400
| Newsgroups | gmane.emacs.wiki.general |
|---|---|
| Message-ID | <[email protected]> |
"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 _______________________________________________ emacs-wiki-discuss mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss
signature.asc
(application/pgp-signature, 190 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEj3+W+1Ho2POo0xkRAjy4AKChifroe4bAxCL2x6yQ+vQdwEQvfACguBmn GL1SvBT7xTSwlo047qD4NmE= =g49J -----END PGP SIGNATURE-----