Subject: Re: bug#15735: locate-file-completion-table should not accept incomplete input

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 06 Feb 2022 00:29:13 +0100

Stefan Monnier <[email-masked]> writes:

> IIRC there are cases where the completion primitives make it difficult
> to enforce this distinction (e.g. when we provide a predicate, where it
> can be OK to ignore the predicate on intermediate completions like
> "ess-5.3.10/"), but in the case of load-library's completion, it should
> be fixable without too much trouble.

I've now introduced a new user option find-library-include-other-files
in Emacs 29 that makes `read-library-name' (and therefore
`find-library') behave differently -- if set to nil, it'll offer
completion over library files and nothing else.

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