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 | 4cc9ca0bb740f8d22a5b50bb5297cdc2899d0504 (patch) | |
| tree | 0c5fe749b0e0f1f0a42916c2cf1fed0107e1f1a1 /tests/test-system-lib--format-region-with-program.el | |
| parent | a1ca2fb06d3073f4642096e38c95b36bb3d5022e (diff) | |
| download | dotemacs-4cc9ca0bb740f8d22a5b50bb5297cdc2899d0504.tar.gz dotemacs-4cc9ca0bb740f8d22a5b50bb5297cdc2899d0504.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 'tests/test-system-lib--format-region-with-program.el')
0 files changed, 0 insertions, 0 deletions
