[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/geiser-guile f6911b5 218/284: New geiser-add-to-load-path,
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/geiser-guile f6911b5 218/284: New geiser-add-to-load-path, just for Guile right now |
Date: |
Sun, 1 Aug 2021 18:29:48 -0400 (EDT) |
branch: elpa/geiser-guile
commit f6911b58210bb1853abfd9eefe53ddb35bc84fed
Author: Jose Antonio Ortega Ruiz <jao@gnu.org>
Commit: Jose Antonio Ortega Ruiz <jao@gnu.org>
New geiser-add-to-load-path, just for Guile right now
As per Andy's request. Adding it to Racket (and to the user manual),
shouldn't be difficult).
---
geiser/evaluation.scm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/geiser/evaluation.scm b/geiser/evaluation.scm
index 3741c6a..b6575ba 100644
--- a/geiser/evaluation.scm
+++ b/geiser/evaluation.scm
@@ -1,6 +1,6 @@
;;; evaluation.scm -- evaluation, compilation and macro-expansion
-;; Copyright (C) 2009, 2010 Jose Antonio Ortega Ruiz
+;; Copyright (C) 2009, 2010, 2011 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
@@ -15,7 +15,8 @@
ge:macroexpand
ge:compile-file
ge:load-file
- ge:set-warnings)
+ ge:set-warnings
+ ge:add-to-load-path)
#:use-module (geiser modules)
#:use-module (srfi srfi-1)
#:use-module (language tree-il)
@@ -104,3 +105,9 @@
(with-output-to-string
(lambda ()
(pretty-print (tree-il->scheme (macroexpand form)))))))
+
+(define (ge:add-to-load-path dir)
+ (and (file-is-directory? dir)
+ (not (member dir %load-path))
+ (begin (set! %load-path (cons dir %load-path))
+ #t)))
- [nongnu] elpa/geiser-guile 6b31cd5 179/284: Guile: really support R6RS libs, (continued)
- [nongnu] elpa/geiser-guile 6b31cd5 179/284: Guile: really support R6RS libs, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile a6c2ef3 180/284: Guile: debug leftover deleted, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 35e8b30 174/284: Using smart tab mode in REPL, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 5e04bdd 181/284: Guile: reactivating the debugger during evaluation, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 4f0c19c 182/284: Guile: reactivating the debugger during evaluation, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 384d21f 184/284: Autodoc: fix for improper macro arglists scanning, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 0d93543 186/284: Merge branch 'master' into guile-meta, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile bc80639 194/284: Merge branch 'master' into guile-meta, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 9d26fb3 201/284: Debugger support, and Guile using it, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile a000bd1 217/284: Guile nit, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile f6911b5 218/284: New geiser-add-to-load-path, just for Guile right now,
Philip Kaludercic <=
- [nongnu] elpa/geiser-guile f017454 221/284: Bug fix: don't override customized geiser-implementations-alist, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 8624afc 229/284: Finishing removal of the "foo ends here" footers, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 85bf381 244/284: guile: pretty printing evaluation results (#64), Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 452e096 235/284: White space, really, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 2f91e2e 245/284: Ensuring switch-to-geiser asks for an implementation, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile f5fee3b 255/284: Quoting binary on version checks (issue #117), Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile dc8a792 257/284: Use (car (process-lines ...)) instead of (shell-command ...), Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 20043b1 271/284: Make guile return line numbers more often, as suggested by Sergey, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 5eff1e4 279/284: preparing MELPA submission, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 4044010 060/284: Support for multiple Scheme implementations, Chapter 1., Philip Kaludercic, 2021/08/01