aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/test-face-docs-dump.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-20 11:51:12 -0400
committerCraig Jennings <c@cjennings.net>2026-06-20 11:51:12 -0400
commitee77dc273ac77e7b60f7ae7000e4ddf8ecdd9719 (patch)
tree37eb96e0a038be7ae87bd64ba2c18ad03ce1579d /scripts/theme-studio/test-face-docs-dump.el
parent47fa00d3905e97ac114aa5094cb1f5c1232bd642 (diff)
downloaddotemacs-ee77dc273ac77e7b60f7ae7000e4ddf8ecdd9719.tar.gz
dotemacs-ee77dc273ac77e7b60f7ae7000e4ddf8ecdd9719.zip
refactor(org-capture): extract the find-or-create-top-heading block
cj/org-capture--goto-file-headline, cj/--org-capture-goto-open-work, and cj/--org-capture-goto-exact-headline each repeated the same positioning block: search from point-min, jump to the heading on a match, else append it at end of buffer and back up. Extract cj/--org-find-or-create-top-heading taking the search regexp and the heading line; the three sites delegate. Behavior unchanged; adds direct coverage of the helper with a plain regexp.
Diffstat (limited to 'scripts/theme-studio/test-face-docs-dump.el')
0 files changed, 0 insertions, 0 deletions