1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-02 08:22:22 +00:00

In project-find-file, add abbreviated file names to history

* lisp/progmodes/project.el (project--read-file-cpd-relative):
Use 'abbreviate-file-name' (bug#58447).
This commit is contained in:
Augusto Stoffel 2022-11-28 23:50:41 +01:00 committed by Dmitry Gutov
parent 4dab5f8671
commit 13bb49bc0b

View File

@ -955,7 +955,7 @@ by the user at will."
hist mb-default)))
(absname (expand-file-name relname common-parent-directory)))
(when (and hist history-add-new-input)
(add-to-history hist absname))
(add-to-history hist (abbreviate-file-name absname)))
absname))
(defun project--read-file-absolute (prompt