diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2017-02-01 23:55:35 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2017-02-01 23:55:35 +0100 |
commit | 60c7b015e7ae0a3d59553264cce717bbc7a996f6 (patch) | |
tree | 9e71f8d41a7b210b69b63bd71be73e0c0a07c154 | |
parent | b3d0caa7e3d4d7eed9233d10b6119d49ca18ec8f (diff) | |
download | geiser-guile-60c7b015e7ae0a3d59553264cce717bbc7a996f6.tar.gz geiser-guile-60c7b015e7ae0a3d59553264cce717bbc7a996f6.tar.bz2 |
A note on dir-locals and load-path variables
With that in the documentation, i'd taken less time to remember the
very existence of geiser-guile-load-path, and the fact that paths are
added also to the compiled load path... but then i guess it's nice to
re-read my code once in a while.
-rw-r--r-- | elisp/geiser-guile.el | 8 |
1 files changed, 5 insertions, 3 deletions
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) |