aboutsummaryrefslogtreecommitdiff
path: root/modules/ai-term.el
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
commit4cc9ca0bb740f8d22a5b50bb5297cdc2899d0504 (patch)
tree0c5fe749b0e0f1f0a42916c2cf1fed0107e1f1a1 /modules/ai-term.el
parenta1ca2fb06d3073f4642096e38c95b36bb3d5022e (diff)
downloaddotemacs-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 'modules/ai-term.el')
0 files changed, 0 insertions, 0 deletions