From b7af611000c6e949fdb1190d3844e3feccddc04e Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Wed, 25 Nov 2020 14:25:05 +0200 Subject: [Docs] Document the changes introduced in #1535 --- doc/modules/ROOT/pages/configuration.adoc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/doc/modules/ROOT/pages/configuration.adoc b/doc/modules/ROOT/pages/configuration.adoc index 0a30b3a..1a06a5d 100644 --- a/doc/modules/ROOT/pages/configuration.adoc +++ b/doc/modules/ROOT/pages/configuration.adoc @@ -298,6 +298,30 @@ want to set in order to allow for the occasions where you want to select the top-level directory. +=== Project-specific Compilation Buffers + +This affects all commands built on top of `projectile--run-project-cmd` like: + +- `projectile-configure-project` +- `projectile-run-project` +- `projectile-test-project` +- `projectile-install-project` +- `projectile-package-project` + +Normally, the buffers created by those commands would be shared (overwritten) +between projects, but it's also possible to make the compilation buffer names +project-specific. Currently, this requires that the user explicitly set: + +[source,elisp] +---- +(setq compilation-buffer-name-function + #'projectile-compilation-buffer-name) +(setq compilation-save-buffers-predicate + #'projectile-current-project-buffer-p) +---- + +Both of these degrade properly when not inside a project. + == Completion Options === Auto (default) -- cgit v1.0