diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2019-05-14 05:09:19 +0300 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2019-05-14 05:11:18 +0300 |
commit | e0ee41d155b210327eb9c9ad5334f80ed59439f4 (patch) | |
tree | 563710e61b14362454a11c33fbb348c0066d9a7a /etc | |
parent | 9b28a5083edecacfac3c7e16308bd8af3f4773a2 (diff) | |
download | emacs-e0ee41d155b210327eb9c9ad5334f80ed59439f4.tar.gz |
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.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1983,6 +1983,8 @@ returns a regexp that never matches anything, which is an identity for this operation. Previously, the empty string was returned in this case. +** New variable project-read-file-name-function. + * Changes in Emacs 27.1 on Non-Free Operating Systems |