|
From: | Edward O'Connor |
Subject: | Re: Idempotency of add-hook wrt lambda expressions |
Date: | Thu, 5 Mar 2009 12:59:19 -0800 |
>> 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
[Prev in Thread] | Current Thread | [Next in Thread] |