aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-04-19 07:12:34 -0500
committerCraig Jennings <c@cjennings.net>2026-04-19 07:12:34 -0500
commitc187be8ddc1d0428f454b55a8d45218586e095bd (patch)
tree6a049c48ab61d05721b5b9144901ccc766d351d9 /Makefile
parentfa9c24c72ea1f97a44b57cd314448a7e20c53bfc (diff)
downloaddotemacs-c187be8ddc1d0428f454b55a8d45218586e095bd.tar.gz
dotemacs-c187be8ddc1d0428f454b55a8d45218586e095bd.zip
refactor(transcription): extract four sentinel side-effect helpers
Break cj/--transcription-sentinel's seven inline side-effects into named helpers: - cj/--write-transcript-on-success: writes process output to .txt on success - cj/--append-to-log: appends event marker + process output to log - cj/--update-transcription-status: marks tracking-list entry complete/error - cj/--notify-completion: sends success or critical notification Also: switch the tautological (cj/--should-keep-log t) to use the local success-p (equivalent but matches the function signature), and rename the unused audio-file sentinel arg to _audio-file. Sentinel shrinks from 48 lines with 7 inline blocks to 14 lines of straight-line helper calls. 10 tests cover the extracted helpers.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions