<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-org-capture-config--find-or-create-top-heading.el, branch main</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-06-20T15:51:12+00:00</updated>
<entry>
<title>refactor(org-capture): extract the find-or-create-top-heading block</title>
<updated>2026-06-20T15:51:12+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-06-20T15:51:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=ee77dc273ac77e7b60f7ae7000e4ddf8ecdd9719'/>
<id>urn:sha1:ee77dc273ac77e7b60f7ae7000e4ddf8ecdd9719</id>
<content type='text'>
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.
</content>
</entry>
</feed>
