aboutsummaryrefslogtreecommitdiff
path: root/modules/system-commands.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-24 04:10:13 -0500
committerCraig Jennings <c@cjennings.net>2026-05-24 04:10:13 -0500
commit0db8b8885e9e5672ad2a68e2077f3e3f6f675e3c (patch)
tree607fa513c1020c941a09df9e09542e9c218f18db /modules/system-commands.el
parent8772c5363073be6b2254f85065e5586bb26c4d86 (diff)
downloaddotemacs-0db8b8885e9e5672ad2a68e2077f3e3f6f675e3c.tar.gz
dotemacs-0db8b8885e9e5672ad2a68e2077f3e3f6f675e3c.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/system-commands.el')
0 files changed, 0 insertions, 0 deletions