]> git.eshelyaron.com Git - emacs.git/commit
Improve handling of file name completion predicate
authorEshel Yaron <me@eshelyaron.com>
Thu, 4 Jan 2024 20:09:53 +0000 (21:09 +0100)
committerEshel Yaron <me@eshelyaron.com>
Thu, 4 Jan 2024 21:14:37 +0000 (22:14 +0100)
commit3b58baa4d2eb2158e64bf2b135e7a46330113fcf
tree8bd8f933f3f6637f3426073a28726b7892f1c514
parentdb48de9c05b296bba8c455cbd6f4078e781839b8
Improve handling of file name completion predicate

* lisp/minibuffer.el (completion-file-name-table): Avoid hard-coding
'file-exists-p', call predicate without directory name and set
'default-directory' to that directory instead.
(read-file-name): Update documentation.
* lisp/pcomplete.el (pcomplete--entries): Handle zero-length arg.
* doc/lispref/minibuf.texi (Reading File Names): Elaborate.
doc/lispref/minibuf.texi
lisp/minibuffer.el
lisp/pcomplete.el