aboutsummaryrefslogtreecommitdiff
path: root/modules/diff-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-12 18:00:50 -0500
committerCraig Jennings <c@cjennings.net>2026-05-12 18:00:50 -0500
commit7312d4996dedd93429b9f9c9b51c96cf333e8260 (patch)
treec0ff3a5ce83dbb2b0f4c01243b7714656c7fe683 /modules/diff-config.el
parent946fc5e1cfb4c1a078be55e054ab2bb51ee56066 (diff)
downloaddotemacs-7312d4996dedd93429b9f9c9b51c96cf333e8260.tar.gz
dotemacs-7312d4996dedd93429b9f9c9b51c96cf333e8260.zip
refactor(prog-webdev): extract the prettier format-command builder
I pulled the prettier command-string construction out of `cj/webdev-format-buffer` into `cj/--webdev-format-command`. The wrapper stays thin: resolve `(or buffer-file-name "file.ts")`, hand the command to `shell-command-on-region`, clamp point. With the command shape in a pure helper I can unit-test it directly.
Diffstat (limited to 'modules/diff-config.el')
0 files changed, 0 insertions, 0 deletions