summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2019-05-14 05:09:19 +0300
committerDmitry Gutov <dgutov@yandex.ru>2019-05-14 05:11:18 +0300
commite0ee41d155b210327eb9c9ad5334f80ed59439f4 (patch)
tree563710e61b14362454a11c33fbb348c0066d9a7a /etc
parent9b28a5083edecacfac3c7e16308bd8af3f4773a2 (diff)
downloademacs-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/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 43ad8be1cc1..fa9ca8603de 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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