|
From: | Dmitry Gutov |
Subject: | bug#43595: 27.1; project.el: `project-known-project-roots' would be useful to have in the documented API |
Date: | Mon, 5 Oct 2020 03:04:48 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
Hi! On 24.09.2020 21:31, Rudi Schlatte wrote:
Would it be possible to include the function `project-known-project-roots' in the project.el public API, as documented in the commentary of the file `project.el'?
Sure. Since it doesn't have '--' in its name, it basically public already, but I made sure to clarify that now in 281da12e43f.
Thanks for the report.
The use case is for packages like dashboard (github.com/emacs-dashboard), which present a list of recent projects for the user to act on. Currently, dashboard uses projectile for this; I submitted a patch that lets the user switch to project.el that uses `project-known-project-roots' for the implementation.
Nice!
[Prev in Thread] | Current Thread | [Next in Thread] |