On Wed, Oct 2, 2019 at 12:07 PM Andreas Schwab <schwab@linux-m68k.org> wrote:

> No, non-existing PATH elements are supposed to be ignored.

Ok, let me rephrase this.

Non-existent PATH element are ignored when searching, if the program is found.

When the search fails, Emacs is now reporting "permission denied" if some PATH element was non-existent, or "no such file or directory" otherwise. At least on Windows.