diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-20 15:04:05 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-20 15:04:05 -0400 |
| commit | d1df69d12d7ba898efe99df392f21146b1fecf8b (patch) | |
| tree | b47e9b8557548caf33a19ddf976a5edc8b756576 /scripts/theme-studio | |
| parent | de25e31a61ad1332bcd1fc0364d5d2a7a9202d88 (diff) | |
| download | dotemacs-d1df69d12d7ba898efe99df392f21146b1fecf8b.tar.gz dotemacs-d1df69d12d7ba898efe99df392f21146b1fecf8b.zip | |
refactor(custom-case): extract per-word title-case decision
Lift the three-branch capitalize-this-word predicate out of cj/title-case-region
into cj/--title-case-capitalize-word-p; the command now loops word boundaries and
delegates the decision, dropping its cyclomatic complexity. The 32-test
characterization suite is unchanged and green. The function is reindented from
tabs to the 2-space house style in the same pass, which accounts for the line
churn; no behavior change.
Diffstat (limited to 'scripts/theme-studio')
0 files changed, 0 insertions, 0 deletions
