From 1e6ede956964a019559b5bb981afe8b828c51837 Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 5 Dec 2021 01:15:43 +0000 Subject: New option geiser-repl-add-project-path-p Together with project-current as a default for the project root function when available, now that Emacs 28 is on the horizon. --- doc/parens.texi | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/parens.texi') diff --git a/doc/parens.texi b/doc/parens.texi index ee4f0a8..89b73ce 100644 --- a/doc/parens.texi +++ b/doc/parens.texi @@ -222,9 +222,16 @@ project-management library of choice (eg. @code{project.el} or associate themselves with the current project, and all Geiser commands will ignore REPLs that are not associated with the project. +@cindex geiser-repl-add-project-path-p This can be very convenient when used with a @file{.dir-locals.el} in the project root to set include paths, ensuring that Geiser REPLs will always know where to find your project's modules or dependencies. +Geiser automatically handles the common case of the project root +belonging to the load path: unless you tell it otherwise (using the +customisable flag @code{geiser-repl-add-project-path-p}, which defaults +to @code{t}), will add the result of calling +@code{geiser-repl-current-project-function} to the REPLs load path on +startup. @subsubheading Switching between source files and the REPL @cindex switching to REPL -- cgit v1.2.3