aboutsummaryrefslogtreecommitdiff
path: root/modules/custom-comments.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
commitdc033c75a88102962414c3697654dd8c2fd85a27 (patch)
treefabe33c5059250e3104494dba8b25d1f9791fdf8 /modules/custom-comments.el
parent556f48a2a0518253015496a618eec9e7a7142dcc (diff)
downloaddotemacs-dc033c75a88102962414c3697654dd8c2fd85a27.tar.gz
dotemacs-dc033c75a88102962414c3697654dd8c2fd85a27.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-comments.el')
0 files changed, 0 insertions, 0 deletions