emacs-devel
[Top][All Lists]
Advanced

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

Re: diff-mode-hook


From: Bruce Stephens
Subject: Re: diff-mode-hook
Date: Mon, 15 Aug 2005 20:51:24 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Dan Nicolaescu <address@hidden> writes:

> Bruce Stephens <address@hidden> writes:

[...]

>   > (add-hook 'diff-mode-hook (function () (next-error-follow-minor-mode t)))
>
>
> (add-hook 'diff-mode-hook (lambda () (next-error-follow-minor-mode t)))
> should work.

So it does.  I was just confused.  (The documentation's clear about
what "function" does.)




reply via email to

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