From 1a0fd56aeb22c40559683524907dee9460709855 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Wed, 15 Mar 2023 13:45:52 +0200 Subject: [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 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]. -- cgit v1.0