aboutsummaryrefslogtreecommitdiff
path: root/tests/test-custom-datetime-all-methods.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-20 11:32:21 -0400
committerCraig Jennings <c@cjennings.net>2026-06-20 11:32:21 -0400
commitaa7ac49c2830e9c3b07bac8373799239bd518e16 (patch)
tree6aab44fa9a1f89254ed70e8e19d157edc5e63fad /tests/test-custom-datetime-all-methods.el
parent751253090367f957bba5fa57d9a18ce963aa51ce (diff)
downloaddotemacs-aa7ac49c2830e9c3b07bac8373799239bd518e16.tar.gz
dotemacs-aa7ac49c2830e9c3b07bac8373799239bd518e16.zip
refactor: extract shared format-region helper into system-lib
prog-json and prog-yaml each carried a byte-identical cj/--<lang>-format-region that runs a formatter over the buffer via call-process-region and replaces it on exit 0. Hoist it to system-lib as cj/format-region-with-program with a generic output buffer, and point both formatters at it. Adds the first direct unit coverage of the helper (Normal, Boundary, Error).
Diffstat (limited to 'tests/test-custom-datetime-all-methods.el')
0 files changed, 0 insertions, 0 deletions