|
| From: | Drew Adams |
| Subject: | RE: turn-on-*-mode |
| Date: | Tue, 16 May 2006 08:40:41 -0700 |
Or maybe we should have something like
(defun add-hook-turn-on (hook mode)
(add-hook hook `(lambda nil (,mode 1))))
So that one can write
(add-hook-turn-on 'text-mode-hook 'auto-fill-mode)
I like that idea.
| [Prev in Thread] | Current Thread | [Next in Thread] |