|
|
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.
|