aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.dev>2022-10-30 09:28:23 +0200
committerBozhidar Batsov <bozhidar@batsov.dev>2022-10-30 09:28:23 +0200
commit95134e1ba2f9f1b7a21ccc2c565ffc39cbfcd2f6 (patch)
treecb046a42dbdd671e5e1cd243c192f16dc0e5879a /doc
parent2b21dd09062df4adb4114d167e3d27de1ef34919 (diff)
Add a note about how to disable the project.el integration
Diffstat (limited to 'doc')
-rw-r--r--doc/modules/ROOT/pages/usage.adoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/modules/ROOT/pages/usage.adoc b/doc/modules/ROOT/pages/usage.adoc
index 750329e..50f5de1 100644
--- a/doc/modules/ROOT/pages/usage.adoc
+++ b/doc/modules/ROOT/pages/usage.adoc
@@ -404,3 +404,10 @@ it about Projectile's project discovery logic.
TIP: Projectile provides its own alternative to `xref-find-references` that's named
`projectile-find-references` (kbd:[s-p ?] or kbd:[s-p s-x]) and is using `xref` internally.
+
+You can disable the `project.el` integration like this:
+
+[source,elisp]
+----
+(remove-hook 'project-find-functions #'project-projectile)
+----