diff options
Diffstat (limited to 'scheme/chicken/geiser')
-rw-r--r-- | scheme/chicken/geiser/emacs.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scheme/chicken/geiser/emacs.scm b/scheme/chicken/geiser/emacs.scm index 47e4418..cddf8da 100644 --- a/scheme/chicken/geiser/emacs.scm +++ b/scheme/chicken/geiser/emacs.scm @@ -229,7 +229,7 @@ (string-append "^([^#]+#)*" (regexp-escape prefix))) (define (describe-symbol sym #!key (exact? #f)) - (let* ((str (symbol->string sym)) + (let* ((str (->string sym)) (found (apropos-information-list (regexp (make-apropos-regex str)) #:macros? #t))) (delete-duplicates (if exact? @@ -339,7 +339,7 @@ ;; Builds a signature list from an identifier (define (find-signatures toplevel-module sym) - (define str (symbol->string sym)) + (define str (->string sym)) (define (make-module-list sym module-sym) (if (null? module-sym) @@ -375,7 +375,7 @@ (args (if (or (list? rest) (pair? rest)) (cdr rest) '()))) (define (clean-arg arg) - (string->symbol (string-substitute "(.*[^0-9]+)[0-9]+" "\\1" (symbol->string arg)))) + (string->symbol (string-substitute "(.*[^0-9]+)[0-9]+" "\\1" (->string arg)))) (define (collect-args args #!key (reqs? #t) (opts? #f) (keys? #f)) (when (not (null? args)) |