diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2011-03-08 22:03:45 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2011-03-08 22:03:45 +0100 |
commit | ba5c6559a53b23238a62381a4eec64c3a5194174 (patch) | |
tree | fd2f071c0c19bf99e690215393cc114668682790 | |
parent | 5ad2dac3dcba6a760eac16b7c23dde2f19a0056c (diff) | |
download | geiser-guile-ba5c6559a53b23238a62381a4eec64c3a5194174.tar.gz geiser-guile-ba5c6559a53b23238a62381a4eec64c3a5194174.tar.bz2 |
Guile: what if i do what i meant to do?
Thanks Jon!
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | elisp/geiser-guile.el | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -5,6 +5,8 @@ - New C-c C-e C-l (or C-c C-r in REPL) to add a directory to Scheme's load path. - Guile 2.0 as lowest Guile version supported. + - New custom variable, geiser-guile-load-init-file-p, to allow + loading of ~/.guile. Bug fixes: diff --git a/elisp/geiser-guile.el b/elisp/geiser-guile.el index 169ac30..648c64e 100644 --- a/elisp/geiser-guile.el +++ b/elisp/geiser-guile.el @@ -122,7 +122,7 @@ effect on new REPLs. For existing ones, use the command This function uses `geiser-guile-init-file' if it exists." (let ((init-file (and (stringp geiser-guile-init-file) (expand-file-name geiser-guile-init-file))) - (q-flags (or geiser-guile-load-init-file-p '("-q")))) + (q-flags (and (not geiser-guile-load-init-file-p) '("-q")))) `(,@(and (listp geiser-guile-binary) (cdr geiser-guile-binary)) ,@q-flags "-L" ,(expand-file-name "guile/" geiser-scheme-dir) ,@(apply 'append (mapcar (lambda (p) (list "-L" p)) |