aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2002-10-21 21:03:00 +0000
committerStefan Monnier <[email protected]>2002-10-21 21:03:00 +0000
commitcdeb348047156fcd1d16566c0829d420342814fc (patch)
tree18d7fb7364545f3fd5b0cc79d97e0a5942e29926
parent89547024035e7a7afa45f3044f38dad57307d60d (diff)
(casify_region): Don't treat a prefix char as part
of a word when at the beginning.
-rw-r--r--src/casefiddle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/casefiddle.c b/src/casefiddle.c
index 67862365a3..8b92d39cbb 100644
--- a/src/casefiddle.c
+++ b/src/casefiddle.c
@@ -227,7 +227,7 @@ casify_region (flag, b, e)
if (c != c2)
changed = 1;
if ((int) flag >= (int) CASE_CAPITALIZE)
- inword = SYNTAX (c) == Sword;
+ inword = SYNTAX (c) == Sword && (inword || !SYNTAX_PREFIX (c));
}
if (i < end_byte)
{