From b449730af4ee705d8083bbfc9838eb611ec54326 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sat, 4 Mar 2017 16:20:27 -0800 Subject: [PATCH] Change the default of 'copy? in string-trimmer to #f. --- src/runtime/ustring.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/runtime/ustring.scm b/src/runtime/ustring.scm index c13edc268..eb8378c0d 100644 --- a/src/runtime/ustring.scm +++ b/src/runtime/ustring.scm @@ -1312,7 +1312,7 @@ USA. (define-deferred string-trimmer-options (keyword-option-parser (list (list 'where '(leading trailing both) 'both) - (list 'copy? boolean? #t) + (list 'copy? boolean? #f) (list 'trim-char? unary-procedure? char-whitespace?)))) (define (string-padder . options) @@ -1541,6 +1541,7 @@ USA. (define (legacy-string-trimmer where) (lambda (string #!optional char-set) ((string-trimmer 'where where + 'copy? #t 'trim-char? (char-set-predicate (if (default-object? char-set) -- 2.25.1