diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-05-16 00:31:20 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-05-16 00:31:20 +0200 |
commit | 588b11871548e3eb8712cca5dc710462e34d8e03 (patch) | |
tree | e31c4dd9b9e032930bddb347c0d3339e9f0b574e | |
parent | 774235f8f08166dbe1311047235fa160a37a3d08 (diff) | |
download | geiser-guile-588b11871548e3eb8712cca5dc710462e34d8e03.tar.gz geiser-guile-588b11871548e3eb8712cca5dc710462e34d8e03.tar.bz2 |
PLT: A bit more sensible prompt format.
-rw-r--r-- | elisp/geiser-plt.el | 2 | ||||
-rw-r--r-- | scheme/plt/geiser/eval.ss | 2 | ||||
-rw-r--r-- | scheme/plt/geiser/modules.ss | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/elisp/geiser-plt.el b/elisp/geiser-plt.el index 7c66682..337c43d 100644 --- a/elisp/geiser-plt.el +++ b/elisp/geiser-plt.el @@ -67,7 +67,7 @@ This function uses `geiser-plt-init-file' if it exists." ,@(and init-file (file-readable-p init-file) (list "-f" init-file)) "-f" ,(expand-file-name "plt/geiser.ss" geiser-scheme-dir)))) -(defconst geiser-plt-prompt-regexp "^mzscheme@([^)]*?)> ") +(defconst geiser-plt-prompt-regexp "^mzscheme@[^ ]*?> ") (defun switch-to-plt (&optional ask) (interactive "P") diff --git a/scheme/plt/geiser/eval.ss b/scheme/plt/geiser/eval.ss index 56a321e..8022a4c 100644 --- a/scheme/plt/geiser/eval.ss +++ b/scheme/plt/geiser/eval.ss @@ -88,7 +88,7 @@ (define (make-repl-reader builtin-reader) (lambda (ns) (last-namespace ns) - (printf "mzscheme@(~a)" (namespace->module-name ns)) + (printf "mzscheme@~a" (namespace->module-name ns)) (builtin-reader))) ;;; eval.ss ends here diff --git a/scheme/plt/geiser/modules.ss b/scheme/plt/geiser/modules.ss index 142cf1e..5819bc4 100644 --- a/scheme/plt/geiser/modules.ss +++ b/scheme/plt/geiser/modules.ss @@ -87,7 +87,7 @@ ((eq? path '#%kernel) "(kernel)") ((string? path) path) ((symbol? path) (symbol->string path)) - (else "<top>"))) + (else ""))) (define (skippable-dir? path) |