diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-24 04:10:13 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-24 04:10:13 -0500 |
| commit | ea0a06315e46ee6b0fd51132f06fb8645533603b (patch) | |
| tree | 2eb2dbf8e0d34cd7dc717ad2f631973f54397eee /modules/custom-case.el | |
| parent | 145ec386896e3d11375397343ae00ff829efb583 (diff) | |
| download | dotemacs-ea0a06315e46ee6b0fd51132f06fb8645533603b.tar.gz dotemacs-ea0a06315e46ee6b0fd51132f06fb8645533603b.zip | |
fix(recording): create the selected recording directory, not its parent
The recording toggles took a directory from the prefix-arg prompt (or the default), then ran (file-name-directory location) before make-directory. For a path without a trailing slash that returns the parent, so make-directory created the parent and left the selected directory uncreated — ffmpeg then failed to write into it.
Both toggles now route the destination through cj/recording--normalize-recording-dir, which expands and applies file-name-as-directory, then call make-directory on that normalized path. The selected directory itself is created (parents=t is a no-op when it already exists), including names with spaces. Tests cover trailing-slash normalization, idempotence, spaces, and relative-to-absolute expansion.
Diffstat (limited to 'modules/custom-case.el')
0 files changed, 0 insertions, 0 deletions
