From e230f695413e5649aac4ff014982f513f94b41a6 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Fri, 24 Feb 2017 20:53:53 -0700 Subject: [PATCH] Fix char-set-predicate to take non-characters. --- src/runtime/chrset.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/runtime/chrset.scm b/src/runtime/chrset.scm index e248b6172..c220b3487 100644 --- a/src/runtime/chrset.scm +++ b/src/runtime/chrset.scm @@ -407,7 +407,8 @@ USA. (define (char-set-predicate char-set) (guarantee char-set? char-set 'CHAR-SET-PREDICATE) (lambda (char) - (char-in-set? char char-set))) + (and (bitless-char? char) + (char-in-set? char char-set)))) (define (char-set=? char-set . char-sets) (every (lambda (char-set*) -- 2.25.1