diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-20 11:32:21 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-20 11:32:21 -0400 |
| commit | 40d8395f8756587f8e1191dafbd639d88d209e2f (patch) | |
| tree | 62c76564280b001c3866815e34f252a4bb62a044 /modules/custom-ordering.el | |
| parent | af212cc9e3f14eef0b8815d0f560b16842e31e6e (diff) | |
| download | dotemacs-40d8395f8756587f8e1191dafbd639d88d209e2f.tar.gz dotemacs-40d8395f8756587f8e1191dafbd639d88d209e2f.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 'modules/custom-ordering.el')
0 files changed, 0 insertions, 0 deletions
