aboutsummaryrefslogtreecommitdiff
path: root/tests/test-chrono-tools--sound-helpers.el
Commit message (Collapse)AuthorAgeFilesLines
* refactor(chrono-tools): extract tmr sound-file helpers, flatten the commandCraig Jennings8 days1-0/+54
cj/tmr-select-sound-file nested cond/let five deep, mixing the current-sound lookup, the completing-read, the setq, and the message. Extract cj/tmr--current-sound-name and cj/tmr--apply-sound-file (the testable parts) and flatten the inner conds to ifs. The command keeps the prefix-arg/no-dir/no-files guards and the prompt. Adds coverage for both helpers.