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 | 08a466ce5ac2516e847574e4e0fa7257cac40753 (patch) | |
| tree | f7f8e3c26891b1f19247e473c70db4f733cd79ef /tests/test-vc-config--git-clone.el | |
| parent | 1db4c8ff934654c044cbe664afa27a3604d060fb (diff) | |
| download | dotemacs-08a466ce5ac2516e847574e4e0fa7257cac40753.tar.gz dotemacs-08a466ce5ac2516e847574e4e0fa7257cac40753.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 'tests/test-vc-config--git-clone.el')
0 files changed, 0 insertions, 0 deletions
