From: "Edward O'Connor" <hober0@gmail.com>
To: Reiner Steib <Reiner.Steib@gmx.de>, David Kastrup <dak@gnu.org>,
emacs-devel@gnu.org
Subject: Re: Idempotency of add-hook wrt lambda expressions
Date: Thu, 5 Mar 2009 12:59:19 -0800 [thread overview]
Message-ID: <3b31caf90903051259r1f6ccf1et8f3d59afd6dcbdbb@mail.gmail.com> (raw)
In-Reply-To: <87prgvya1w.fsf@marauder.physik.uni-ulm.de>
>> For example, (info "(emacs) Init Examples") carefully explains
>>
>> * Turn on Auto Fill mode automatically in Text mode and related
>> modes.
>>
>> (add-hook 'text-mode-hook
>> '(lambda () (auto-fill-mode 1)))
>
> Maybe we should provide turn-on-auto-fill-mode and use it here?
`turn-on-auto-fill' and `turn-off-auto-fill' are already defined in
simple.el. The docs should just be updated to use them.
--
Ted
next prev parent reply other threads:[~2009-03-05 20:59 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-04 12:10 Idempotency of add-hook wrt lambda expressions Geoff Gole
2009-03-04 14:18 ` Stefan Monnier
2009-03-04 20:13 ` xah lee
2009-03-04 21:23 ` Stefan Monnier
2009-03-04 21:27 ` Lennart Borgman
2009-03-05 17:22 ` M Jared Finder
2009-03-04 21:00 ` David Reitter
2009-03-05 1:27 ` Stephen J. Turnbull
2009-03-05 1:54 ` Stefan Monnier
2009-03-05 8:23 ` Geoff Gole
2009-03-05 9:49 ` David Kastrup
2009-03-05 11:41 ` tomas
2009-03-05 11:53 ` Geoff Gole
2009-03-05 16:45 ` Alan Mackenzie
2009-03-05 16:33 ` Helmut Eller
2009-03-05 16:38 ` Stefan Monnier
2009-03-05 16:50 ` Geoff Gole
2009-03-05 16:38 ` Alan Mackenzie
2009-03-05 20:44 ` Reiner Steib
2009-03-05 20:59 ` Edward O'Connor [this message]
2009-03-05 21:08 ` Reiner Steib
2009-03-06 9:36 ` David Kastrup
2009-03-05 16:12 ` Alan Mackenzie
2009-03-05 16:37 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3b31caf90903051259r1f6ccf1et8f3d59afd6dcbdbb@mail.gmail.com \
--to=hober0@gmail.com \
--cc=Reiner.Steib@gmx.de \
--cc=dak@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).