diff options
author | jao <jao@gnu.org> | 2021-12-05 01:15:43 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-12-05 01:15:43 +0000 |
commit | 1e6ede956964a019559b5bb981afe8b828c51837 (patch) | |
tree | 4127e49594e98249b13ff7b856e7caac990f4eae /doc/parens.texi | |
parent | 8985e7995e87b2ac95306e3c5e962b8c7b50d83a (diff) | |
download | geiser-1e6ede956964a019559b5bb981afe8b828c51837.tar.gz geiser-1e6ede956964a019559b5bb981afe8b828c51837.tar.bz2 |
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.
Diffstat (limited to 'doc/parens.texi')
-rw-r--r-- | doc/parens.texi | 7 |
1 files changed, 7 insertions, 0 deletions
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 |