aboutsummaryrefslogtreecommitdiff
path: root/modules/custom-ordering.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
commit234a961c9b26ff0cdd39135cf0e472a0d7b490fe (patch)
tree4a5e78b06dbd6122f39d11ea6751735d80cd1f3a /modules/custom-ordering.el
parent38e96ffdf48a41f14f860363add135551696cb6c (diff)
downloaddotemacs-234a961c9b26ff0cdd39135cf0e472a0d7b490fe.tar.gz
dotemacs-234a961c9b26ff0cdd39135cf0e472a0d7b490fe.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