]> git.eshelyaron.com Git - emacs.git/commit
Allow customizing the display of project file names when reading
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 14 May 2019 02:09:19 +0000 (05:09 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 14 May 2019 02:11:18 +0000 (05:11 +0300)
commite0ee41d155b210327eb9c9ad5334f80ed59439f4
tree563710e61b14362454a11c33fbb348c0066d9a7a
parent9b28a5083edecacfac3c7e16308bd8af3f4773a2
Allow customizing the display of project file names when reading

To hopefully resolve a long-running discussion
(https://lists.gnu.org/archive/html/emacs-devel/2019-05/msg00162.html).

* lisp/progmodes/project.el (project-read-file-name-function):
New variable.
(project--read-file-absolute, project--read-file-cpd-relative):
New functions, possible values for the above.
(project-find-file-in): Use the introduced variable.
(project--completing-read-strict): Retain just the logic that fits
the name.
etc/NEWS
lisp/minibuffer.el
lisp/progmodes/project.el