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: Dmitry Gutov
Subject: bug#63829: 29.0.90; project-find-file's future history breaks with common-parent-directory
Date: Mon, 21 Aug 2023 04:17:00 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 20/08/2023 20:13, Juri Linkov wrote:
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).





reply via email to

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