emacs-devel
[Top][All Lists]
Advanced

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

Re: Multiple next-error sources


From: Jorgen Schaefer
Subject: Re: Multiple next-error sources
Date: Fri, 7 Nov 2014 10:49:14 +0100

On Thu, 06 Nov 2014 18:15:40 -0500
Stefan Monnier <address@hidden> wrote:

> > An idea I had was to replace/extend `next-error-function' with a
> > hook where the first non-nil return value is used as the location
> > of the next error.
> 
> Why?  Can't you already do it with add-function?

Sure. There is a single-variable interface already, I thought it would
make sense to extend it.

The advantage of hooks is that it makes it easier for users to
customize the behavior by adding and removing various entries.

Is add-function intended to replace hooks like this in general?

Regards,
Jorgen



reply via email to

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