aboutsummaryrefslogtreecommitdiff
path: root/modules/mu4e-org-contacts-setup.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
commit6a251d42428d479ef6bf4c3f2b42cfab82d00a7f (patch)
tree275734ea7481330962b02f41ee2cf3dbb0bed7dc /modules/mu4e-org-contacts-setup.el
parentb5f1b702d5eb5dfeb3e38c9c6f5be2ce02b53f0c (diff)
downloaddotemacs-6a251d42428d479ef6bf4c3f2b42cfab82d00a7f.tar.gz
dotemacs-6a251d42428d479ef6bf4c3f2b42cfab82d00a7f.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 'modules/mu4e-org-contacts-setup.el')
0 files changed, 0 insertions, 0 deletions