From b801b7cfbf95695bd2184d23a631c7424f52a1b8 Mon Sep 17 00:00:00 2001 From: Dan Leslie Date: Sat, 5 Dec 2015 07:30:06 -0800 Subject: Right-most character of arguments was being cut --- scheme/chicken/geiser/emacs.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scheme/chicken') diff --git a/scheme/chicken/geiser/emacs.scm b/scheme/chicken/geiser/emacs.scm index c5772bd..1041f57 100644 --- a/scheme/chicken/geiser/emacs.scm +++ b/scheme/chicken/geiser/emacs.scm @@ -399,7 +399,7 @@ (define (clean-arg arg) (let ((s (->string arg))) - (substring/shared s 0 (string-skip-right s char-set:digit)))) + (substring/shared s 0 (add1 (string-skip-right s char-set:digit))))) (define (collect-args args #!key (reqs? #t) (opts? #f) (keys? #f)) (when (not (null? args)) -- cgit v1.2.3