aboutsummaryrefslogtreecommitdiff
path: root/gptel-tools/read_buffer.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-15 23:21:16 -0500
committerCraig Jennings <c@cjennings.net>2026-06-15 23:21:16 -0500
commitc3be268cb0834c86cf0389d2779a740cd52db9c4 (patch)
tree3c487929bd6e34ba248810a1fba8894b383b544c /gptel-tools/read_buffer.el
parentb54ec5aac9e25b534686c13aa2d09a61200c6fd9 (diff)
downloaddotemacs-c3be268cb0834c86cf0389d2779a740cd52db9c4.tar.gz
dotemacs-c3be268cb0834c86cf0389d2779a740cd52db9c4.zip
fix(custom-comments): heavy-box interiors are valid comments
The heavy-box empty and text lines began with a bare decoration char, so in line-comment languages (elisp, Python) C-; C h injected syntax-breaking lines. Prefix the interiors with the comment char and suffix them like cj/--comment-box does. Add the missing min-length guard so small or negative widths error cleanly instead of failing inside make-string. Updated the two characterization assertions to the corrected output.
Diffstat (limited to 'gptel-tools/read_buffer.el')
0 files changed, 0 insertions, 0 deletions