diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-04-01 07:45:32 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-04-01 07:45:32 +0200 |
commit | 28722c06b7c709b9a44c44447d9740b4de7e15d8 (patch) | |
tree | 432560f50040ff618cd4bb7c30cbc0346827bf10 /geiser/modules.scm | |
parent | 33b8c5311efda6d0b1aaaad0465f59415f5540c4 (diff) | |
download | geiser-guile-28722c06b7c709b9a44c44447d9740b4de7e15d8.tar.gz geiser-guile-28722c06b7c709b9a44c44447d9740b4de7e15d8.tar.bz2 |
Bug fix: really remove killed buffers from the list of closed repls.
Diffstat (limited to 'geiser/modules.scm')
-rw-r--r-- | geiser/modules.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/geiser/modules.scm b/geiser/modules.scm index 0afb8fd..fdc3f3f 100644 --- a/geiser/modules.scm +++ b/geiser/modules.scm @@ -35,7 +35,7 @@ #:use-module (ice-9 session) #:use-module (srfi srfi-1)) -(define (symbol-module sym) +(define (symbol-module sym . all) (and sym (catch 'module-name (lambda () @@ -44,7 +44,9 @@ (throw 'module-name (module-name module)) init)) #f (regexp-quote (symbol->string sym)) - (apropos-fold-accessible (current-module)))) + (if (or (null? all) (not (car all))) + (apropos-fold-accessible (current-module)) + apropos-fold-all))) (lambda (key . args) (and (eq? key 'module-name) (car args)))))) |