diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-12 18:00:50 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-12 18:00:50 -0500 |
| commit | 98a200c955117893d3c27ace8e911c53ca2a7395 (patch) | |
| tree | 2a180b1190d8f1e0e30d85ca164fabc73662ccc6 /modules/system-defaults.el | |
| parent | 040038d42f82d48c2e6b57a0d4494d9aabf453a9 (diff) | |
| download | dotemacs-98a200c955117893d3c27ace8e911c53ca2a7395.tar.gz dotemacs-98a200c955117893d3c27ace8e911c53ca2a7395.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/system-defaults.el')
0 files changed, 0 insertions, 0 deletions
