[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 13bb49bc0b: In project-find-file, add abbreviated file names to
From: |
Dmitry Gutov |
Subject: |
emacs-29 13bb49bc0b: In project-find-file, add abbreviated file names to history |
Date: |
Tue, 29 Nov 2022 11:15:58 -0500 (EST) |
branch: emacs-29
commit 13bb49bc0b829cfd2ec713a27a81b19b3f749cd5
Author: Augusto Stoffel <arstoffel@gmail.com>
Commit: Dmitry Gutov <dgutov@yandex.ru>
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).
---
lisp/progmodes/project.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 690b9bb5cd..c1245704bc 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 13bb49bc0b: In project-find-file, add abbreviated file names to history,
Dmitry Gutov <=