diff options
-rw-r--r-- | src/cmd/9term/9term.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c index 34c155cf..a620410a 100644 --- a/src/cmd/9term/9term.c +++ b/src/cmd/9term/9term.c @@ -307,9 +307,7 @@ threadmain(int argc, char *argv[]) int isexpand(Rune r) { - return r=='_' || ('0' <= r && r <= '9') - || ('a' <= r && r <= 'z') - || ('A' <= r && r <= 'Z'); + return r=='_' || ('0' <= r && r <= '9') || isalpharune(r); } void |