aboutsummaryrefslogtreecommitdiff
path: root/scripts/calendar_sync_api.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-20 15:04:05 -0400
committerCraig Jennings <c@cjennings.net>2026-06-20 15:04:05 -0400
commitd1df69d12d7ba898efe99df392f21146b1fecf8b (patch)
treeb47e9b8557548caf33a19ddf976a5edc8b756576 /scripts/calendar_sync_api.py
parentde25e31a61ad1332bcd1fc0364d5d2a7a9202d88 (diff)
downloaddotemacs-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/calendar_sync_api.py')
0 files changed, 0 insertions, 0 deletions