summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/repl.texi5
-rw-r--r--elisp/geiser-guile.el8
2 files changed, 10 insertions, 3 deletions
diff --git a/doc/repl.texi b/doc/repl.texi
index 6a785dd..aad9e51 100644
--- a/doc/repl.texi
+++ b/doc/repl.texi
@@ -395,6 +395,11 @@ loads a file specified via the @code{-l} flag. If what you want is just
loading @file{~/.guile}, leave @code{geiser-guile-init-file} alone and
set @code{geiser-guile-load-init-file-p} to @code{t} instead.
+These variables controlling your scheme's initialisation process are
+good candidates for an entry in a project's @file{.dir-locals.el} file,
+so that they are automatically set to a sensible value whenever you
+start a REPL in the project's directory.
+
@subsubheading Racket startup time
@cindex startup timeout
diff --git a/elisp/geiser-guile.el b/elisp/geiser-guile.el
index dacca55..5dd0c54 100644
--- a/elisp/geiser-guile.el
+++ b/elisp/geiser-guile.el
@@ -1,6 +1,6 @@
;; geiser-guile.el -- guile's implementation of the geiser protocols
-;; Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Jose Antonio Ortega Ruiz
+;; Copyright (C) 2009-2017 Jose Antonio Ortega Ruiz
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the Modified BSD License. You should
@@ -41,8 +41,10 @@
:group 'geiser-guile)
(geiser-custom--defcustom geiser-guile-load-path nil
- "A list of paths to be added to Guile's load path when it's
-started."
+ "A list of paths to be added to Guile's load path when it's started.
+The paths are added to both %load-path and %load-compiled path,
+and only if they are not already present. This variable is a
+good candidate for an entry in your project's .dir-locals.el."
:type '(repeat file)
:group 'geiser-guile)