[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: turn-on-*-mode

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]