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 | 59bb885ad1caeeb4caa44095b25531c56d2eae26 (patch) | |
| tree | 0527109e83283a84b322562771f76f03e33a8089 /modules/system-defaults.el | |
| parent | 0b5e0b8e05ba4fa0157235e2625b49f0f02a4a19 (diff) | |
| download | dotemacs-59bb885ad1caeeb4caa44095b25531c56d2eae26.tar.gz dotemacs-59bb885ad1caeeb4caa44095b25531c56d2eae26.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 'modules/system-defaults.el')
0 files changed, 0 insertions, 0 deletions
