diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-12 10:12:31 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-12 10:13:28 -0500 |
| commit | 35aba059cca66bf163705609b46d8d21e8b4976a (patch) | |
| tree | ed69e225bd282daafd013d3153bc1f3eeaf651b2 /modules/system-defaults.el | |
| parent | 5bfd74fd42b47a774b9982a5c44d00c92a2e6d63 (diff) | |
| download | dotemacs-35aba059cca66bf163705609b46d8d21e8b4976a.tar.gz dotemacs-35aba059cca66bf163705609b46d8d21e8b4976a.zip | |
fix(org-drill): let-bind org-refile-targets and target real drill files
cj/drill-refile used setq, permanently replacing the session-wide org-refile-targets so every refile anywhere offered only drill targets until restart; and its (drill-dir :maxlevel . 1) entry named a bound variable, which org reads as a directory string rather than a file list, so the drill side yielded nothing. Let-bind org-refile-targets and supply (directory-files drill-dir t "\\.org$") as the file list. The stale test (which asserted the buggy drill-dir spec) is rewritten into two: file-list targets and no global clobber.
Diffstat (limited to 'modules/system-defaults.el')
0 files changed, 0 insertions, 0 deletions
