aboutsummaryrefslogtreecommitdiff
path: root/tests/test-vterm-toggle--buffer-filter.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-13 06:27:38 -0500
committerCraig Jennings <c@cjennings.net>2026-05-13 06:27:38 -0500
commit9487ffef982ad0f9fb9e0e1930b3c5d82a50085f (patch)
tree2266a5ba49f2943fe6c1eab501019af0fcfecb05 /tests/test-vterm-toggle--buffer-filter.el
parent7f0b6197eb6f2dcc97400c0a9a4097d6e25e6539 (diff)
downloaddotemacs-9487ffef982ad0f9fb9e0e1930b3c5d82a50085f.tar.gz
dotemacs-9487ffef982ad0f9fb9e0e1930b3c5d82a50085f.zip
refactor(calibredb-epub): extract the nov image-padding helper
I pulled the image-centering math out of `cj/nov-center-images` into `cj/--nov-image-padding-cols`. The wrapper still loops over the image text properties and writes the line/wrap-prefix. The helper takes col-width, img-px, and font-width-px and returns the left padding. With the math in a pure helper I can unit-test the centering rule directly instead of building a buffer with image-display properties.
Diffstat (limited to 'tests/test-vterm-toggle--buffer-filter.el')
0 files changed, 0 insertions, 0 deletions