aboutsummaryrefslogtreecommitdiff
path: root/modules/prog-python.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
commit40d8395f8756587f8e1191dafbd639d88d209e2f (patch)
tree62c76564280b001c3866815e34f252a4bb62a044 /modules/prog-python.el
parentaf212cc9e3f14eef0b8815d0f560b16842e31e6e (diff)
downloaddotemacs-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/prog-python.el')
0 files changed, 0 insertions, 0 deletions