[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/projectile 1a0fd56aeb 2/2: [Docs] Documented the changes t
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/projectile 1a0fd56aeb 2/2: [Docs] Documented the changes to the project.el integration |
Date: |
Wed, 15 Mar 2023 08:01:55 -0400 (EDT) |
branch: elpa/projectile
commit 1a0fd56aeb22c40559683524907dee9460709855
Author: Bozhidar Batsov <bozhidar@batsov.dev>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>
[Docs] Documented the changes to the project.el integration
See #1831 for more details.
---
doc/modules/ROOT/pages/usage.adoc | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/doc/modules/ROOT/pages/usage.adoc
b/doc/modules/ROOT/pages/usage.adoc
index 8333d6c3df..0dca9cbe53 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].