]> 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>
Fri, 19 Jan 2024 10:07:05 +0000 (11:07 +0100)
commite49331cd5be46cb69933c06e7bb1020a1eba0e38
treeb9b5f645c7355e05b02446607155da87d4046819
parent969e30c9396c64cf869594918e7c044f6c222517
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