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 | 234a961c9b26ff0cdd39135cf0e472a0d7b490fe (patch) | |
| tree | 4a5e78b06dbd6122f39d11ea6751735d80cd1f3a /modules/custom-datetime.el | |
| parent | 38e96ffdf48a41f14f860363add135551696cb6c (diff) | |
| download | dotemacs-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-datetime.el')
0 files changed, 0 insertions, 0 deletions
