bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63829: 29.0.90; project-find-file's future history breaks with commo


From: Juri Linkov
Subject: bug#63829: 29.0.90; project-find-file's future history breaks with common-parent-directory
Date: Mon, 21 Aug 2023 09:58:29 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

>> Then maybe better to simply add only the relative file name for optimization?
>> Like this
>>           (add-to-history 'file-name-history
>>                           (propertize file 'project-relative-name
>>                            (file-relative-name file (project-root 
>> project)))))
>
> Then it won't work in find-file (or might even break it).

But find-file doesn't use the property 'project-relative-name'.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]