aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/face-coverage-dump.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-20 11:47:25 -0400
committerCraig Jennings <c@cjennings.net>2026-06-20 11:47:25 -0400
commit357801f84080925c487738540105c598c0dbb3e5 (patch)
tree3bd2b1a01599c6263dbc1d59648dd3e24cd4a549 /scripts/theme-studio/face-coverage-dump.el
parent1d94c5cc53dcdb4934a4f6861a650aca33b71e1c (diff)
downloaddotemacs-357801f84080925c487738540105c598c0dbb3e5.tar.gz
dotemacs-357801f84080925c487738540105c598c0dbb3e5.zip
refactor(custom-text-enclose): extract the region-or-word dispatch
cj/surround/wrap/unwrap-word-or-region each repeated the same skeleton: target the active region, else the word at point, else show a message; then delete and re-insert the transformed text. Extract cj/--enclose-region-or-word, which takes the transform as a function and the no-target message, so each command reads its prompts then delegates. Behavior and messages unchanged; adds direct coverage of the dispatch helper.
Diffstat (limited to 'scripts/theme-studio/face-coverage-dump.el')
0 files changed, 0 insertions, 0 deletions