>> Tho I think in master next-error-find-buffer-function >> should support a list of functions, so the user could customize >> their order to arrange their priorities. Then they could be called >> with run-hook-with-args-until-success. > > I suppose. > > We should perhaps wait and see if people do customize that variable at > all. But the idea is solid. Actually, people already want to customize it to a list (at least, I know one such user :) So here is a patch: