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 | b361e8d158d4403052e7b6996fdbe4f9127c1b0e (patch) | |
| tree | a8e2fbe684abb0caa994903533bf565fa3ee8d86 /tests/test-integration-buffer-diff.el | |
| parent | 91bb2857a90edfcca0fc0907ce813d4bd76f1b7a (diff) | |
| download | dotemacs-b361e8d158d4403052e7b6996fdbe4f9127c1b0e.tar.gz dotemacs-b361e8d158d4403052e7b6996fdbe4f9127c1b0e.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-integration-buffer-diff.el')
0 files changed, 0 insertions, 0 deletions
