]> git.eshelyaron.com Git - emacs.git/commit
When completing relative project file names, use relative history
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 15 Dec 2022 22:45:55 +0000 (00:45 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 15 Dec 2022 22:46:20 +0000 (00:46 +0200)
commitc8d75046a2f1b5d29e073ac2e4a987145343b0b7
tree1d127715d6a6d3c1e9b8eb30a6f75d4a61793988
parent3b618d0e3ed91c5b954b47f9044f7f3f3aa67c66
When completing relative project file names, use relative history

* lisp/progmodes/project.el: Require 'cl-lib'.

* lisp/progmodes/project.el (project--read-file-cpd-relative):
Pre-process history entries around completing-read (bug#58447).

This includes both filtering by common-parent-directory prefix and
mapping into relative names.
lisp/progmodes/project.el