projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dab5f8
)
In project-find-file, add abbreviated file names to history
author
Augusto Stoffel
<arstoffel@gmail.com>
Mon, 28 Nov 2022 22:50:41 +0000
(23:50 +0100)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Tue, 29 Nov 2022 16:15:09 +0000
(18:15 +0200)
* lisp/progmodes/project.el (project--read-file-cpd-relative):
Use 'abbreviate-file-name' (bug#58447).
lisp/progmodes/project.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/project.el
b/lisp/progmodes/project.el
index 690b9bb5cd6b125e913c9c84ec2b7ff52ff3c76b..c1245704bcc5cfce088144c31966a9424568d1dc 100644
(file)
--- 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