(defun project--transplant-file-name (filename project)
(when-let ((old-root (get-text-property 0 'project filename)))
- (abbreviate-file-name
- (expand-file-name
- (file-relative-name filename old-root)
- (project-root project)))))
+ (expand-file-name
+ (file-relative-name filename old-root)
+ (project-root project))))
(defun project--read-file-cpd-relative (prompt
all-files &optional predicate
(relname (cl-letf (((symbol-value hist)
(mapcan
(lambda (s)
+ (setq s (abbreviate-file-name s))
(and (string-prefix-p abbr-cpd s)
(not (eq abbr-cpd-length (length s)))
(list (substring s abbr-cpd-length))))