<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-org-refile-config-commands.el, branch load-graph-classify-end</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=load-graph-classify-end</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=load-graph-classify-end'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-05-14T08:34:15+00:00</updated>
<entry>
<title>test(org-refile-config): cover refresh-targets, org-refile, refile-in-file</title>
<updated>2026-05-14T08:34:15+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-14T08:34:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=c16d53e8787cd9f197c358ac21b05a78738a77de'/>
<id>urn:sha1:c16d53e8787cd9f197c358ac21b05a78738a77de</id>
<content type='text'>
Sibling tests covered the ensure-org-mode helper and the build-targets pipeline. The three wrapper commands were uncovered:

- `cj/org-refile-refresh-targets`: passes the `force-rebuild` flag to `cj/build-org-refile-targets`.
- `cj/org-refile`: builds the cache, then calls `org-refile` with the four positional args.
- `cj/org-refile-in-file`: scopes `org-refile-targets` to the current file at maxlevel 6, then saves after the refile completes.

Top-level `defvar` for `org-refile-targets` so the let-binding inside the function is dynamic under lexical scope.
</content>
</entry>
</feed>
