[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: diff-mode-hook (was Re: minor bug in next-error-follow-minor-mode?)
From: |
Dan Nicolaescu |
Subject: |
Re: diff-mode-hook (was Re: minor bug in next-error-follow-minor-mode?) |
Date: |
Mon, 15 Aug 2005 11:32:16 -0700 |
Bruce Stephens <address@hidden> writes:
> Dan Nicolaescu <address@hidden> writes:
>
> > Bruce Stephens <address@hidden> writes:
>
> [...]
>
> > > and indeed found that C-c C-f switched it off (and another C-c C-f
> > > switched it on). However, now I look at the code, I think it's just a
> > > minor bug, where ":init-value" ought to be ":lighter", in simple.el.
> > > (" Fol" is presumably a valid non-nil value, but it looks suspiciously
> > > like something meant for the modeline.)
> >
> > You are right, I fixed this.
>
> Yes, I just noticed. Thanks for that.
>
> While investigating that, I tried switching on
> next-error-follow-minor-mode explicitly:
>
> (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.