Subject: bug#20489: 25.0.50; next-error-find-buffer chooses non-current buffer without good reason

From: Stefan Monnier <[email-masked]>
Date: Sun, 03 May 2015 01:49:58 -0400

> Apparently, this peculiarity has been there for 10.5 years now,
> introduced in 03e75c7e0 by Juri Linkov. But there's no bug reference, nor
> a link to a discussion.

IIRC this had something to do with hitting C-x ` to jump through the
various elements of a *compile* or *grep* buffer, where some of those
C-x ` may end up jumping to a buffer that itself has
next-error-function set.

        Stefan