diff options
author | jao <jao@gnu.org> | 2022-02-23 16:59:41 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-02-23 16:59:41 +0000 |
commit | ed6d6a1b362fe389acb7f7e1bf6d89ff88e060af (patch) | |
tree | f9b8ab94dd59e487224a0c5121fe7d1f634dd394 /doc | |
parent | c1cc4da1edc46b763e0342ab4aa971e54f48658d (diff) | |
download | geiser-ed6d6a1b362fe389acb7f7e1bf6d89ff88e060af.tar.gz geiser-ed6d6a1b362fe389acb7f7e1bf6d89ff88e060af.tar.bz2 |
Set REPL's default directory to project's root
Diffstat (limited to 'doc')
-rw-r--r-- | doc/repl.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/repl.texi b/doc/repl.texi index 4f28d82..6734d82 100644 --- a/doc/repl.texi +++ b/doc/repl.texi @@ -443,10 +443,15 @@ Guile), and, sometimes a global list of paths to add to the interpreter's load path (that'd be @code{geiser-guile-load-path} for Guile). +@cindex default directory There is also a generic mechanism to specify how to add directories to the initial load path when @code{geiser-repl-current-project-function} is set: you can then customize @code{geiser-repl-add-project-paths} to a list of subdirectories of the project's root to add to the load path. +When this option is set, the working directory of the REPL's buffer +(i.e., the value of the elisp variable @code{default-directory}) will be +set to the directory returned by +@code{geiser-repl-current-project-function}). These variables controlling your scheme's initialisation process are good candidates for an entry in a project's @file{.dir-locals.el} file, |