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:
parent
4dab5f8671
commit
13bb49bc0b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user