summaryrefslogtreecommitdiff
path: root/modules/custom-misc.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
commite20d1bf71aac0f7bf4b7b21786c94bf221cfa25a (patch)
treec0ff3a5ce83dbb2b0f4c01243b7714656c7fe683 /modules/custom-misc.el
parentc111f35a53912886cef0baeb7f8463b6ce63c014 (diff)
downloaddotemacs-e20d1bf71aac0f7bf4b7b21786c94bf221cfa25a.tar.gz
dotemacs-e20d1bf71aac0f7bf4b7b21786c94bf221cfa25a.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/custom-misc.el')
0 files changed, 0 insertions, 0 deletions