|
From: | Dmitry Gutov |
Subject: | Re: New feature in project.el: Remembering the previously used projects |
Date: | Sat, 30 May 2020 02:31:06 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
On 30.05.2020 02:22, Dmitry Gutov wrote:
First thought: you can cache it based it the value of default-directory. Which should cut down on these calls (which trigger directory traversals, etc) dramatically, and should be an improvement either way.
Although... project-try-vc already performs caching based on the current directory. Which might be enough for a lot of scenarios.
[Prev in Thread] | Current Thread | [Next in Thread] |