Subject: bug#14680: 24.3.50; `locate-file-completion' gives wrong candidates - *.elc.elc and no *.el

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 29 Apr 2016 01:58:06 +0200

Drew Adams <[email-masked]> writes:

> Add files named isearch+.el, isearch+.el~, and isearch+.elc to the
> current directory, then (add-to-list 'load-path ".")  Then eval this:

[...]

> The problem seems to arise when `locate-file-completion-table' invokes:
> (file-name-all-completions "isearch+" ".").  That returns this:
> ("isearch+.el~" "isearch+.elc.elc" "isearch+.elc" "isearch+.el")

(file-name-all-completions "isearch+" ".")
=>
("isearch+.elc" "isearch+.el" "isearch+.el~")

So I'm unable to reproduce this error.  Is this from -Q?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no