From 60c7b015e7ae0a3d59553264cce717bbc7a996f6 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Wed, 1 Feb 2017 23:55:35 +0100 Subject: 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. --- elisp/geiser-guile.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'elisp/geiser-guile.el') 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) -- cgit v1.2.3