aboutsummaryrefslogtreecommitdiff
path: root/doc/modules/ROOT/pages
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.dev>2025-04-02 10:15:53 +0300
committerBozhidar Batsov <bozhidar@batsov.dev>2025-04-02 10:15:53 +0300
commit4dd84b02c9cd7b04616dc2d01ba7bc87f0d15be8 (patch)
treef10d6cd87bcb2d6821a06468763aa16188c48a06 /doc/modules/ROOT/pages
parent55db082cdf7b849335ccf24b7ba5aa2607d6fe93 (diff)
Set `projectile-auto-discover` to `nil` by default
That's a safer default, given the changes to its behavior in 2.9.
Diffstat (limited to 'doc/modules/ROOT/pages')
-rw-r--r--doc/modules/ROOT/pages/usage.adoc14
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/modules/ROOT/pages/usage.adoc b/doc/modules/ROOT/pages/usage.adoc
index 9d60755..d1d1ded 100644
--- a/doc/modules/ROOT/pages/usage.adoc
+++ b/doc/modules/ROOT/pages/usage.adoc
@@ -66,9 +66,17 @@ Recursive discovery is configured by specifying the search depth in a cons cell:
(setq projectile-project-search-path '("~/projects/" "~/work/" ("~/github" . 1)))
----
-You can suppress the auto-discovery of projects on startup by setting
-`projectile-auto-discover` to `nil`. You can manually trigger the project
-discovery using `M-x projectile-discover-projects-in-search-path`.
+You can manually trigger the project
+discovery using `M-x projectile-discover-projects-in-search-path` or you can
+use `projectile-auto-discover` to discover projects on the search path automatically:
+
+[source,elisp]
+----
+(setq projectile-auto-discover t)
+----
+
+NOTE: Keep in mind the auto-discovery will be triggered every time you switch projects,
+so it's probably not a good idea if you have many projects on your search path.
=== Removal of missing projects