aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.dev>2023-03-15 13:45:52 +0200
committerBozhidar Batsov <bozhidar@batsov.dev>2023-03-15 13:45:52 +0200
commit1a0fd56aeb22c40559683524907dee9460709855 (patch)
treea794433f09fb4a8a2b1e572bf93cd891eaa20be5 /doc
parentde9b4ecfa3fafc88c6193007ebc1128c85b32b6e (diff)
[Docs] Documented the changes to the project.el integration
See #1831 for more details.
Diffstat (limited to 'doc')
-rw-r--r--doc/modules/ROOT/pages/usage.adoc10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/modules/ROOT/pages/usage.adoc b/doc/modules/ROOT/pages/usage.adoc
index 8333d6c..0dca9cb 100644
--- a/doc/modules/ROOT/pages/usage.adoc
+++ b/doc/modules/ROOT/pages/usage.adoc
@@ -403,9 +403,15 @@ Place such snippets after ``projectile-mode``'s init code.
== Using Projectile with project.el
Starting with version 2.7 Projectile bundles some integration with
-`project.el` that makes `project.el` use by default Projectile's
+`project.el` that makes `project.el` use Projectile's
project lookup function (`projectile-project-root`) and project file
-lookup function (`projectile-project-files`).
+lookup function (`projectile-project-files`) whenever `projectile-mode`
+is enabled. You can also enable the integration manually like this:
+
+[source,elisp]
+----
+(add-hook 'project-find-functions #'project-projectile)
+----
TIP: You can read more about the implementation details of the integration https://github.com/bbatsov/projectile/issues/1591[here].