emacs-devel
[Top][All Lists]
Advanced

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

Re: turn-on-*-mode


From: Lennart Borgman
Subject: Re: turn-on-*-mode
Date: Tue, 16 May 2006 18:03:51 +0200
User-agent: Thunderbird 1.5.0.2 (Windows/20060308)

Drew Adams wrote:
    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.
I subscribe to that too.




reply via email to

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