aboutsummaryrefslogtreecommitdiff
path: root/tests/test-custom-comments-comment-inline-border.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-24 04:25:24 -0500
committerCraig Jennings <c@cjennings.net>2026-05-24 04:25:24 -0500
commitcf1c0ea6fa9fb9a0fb7a3ceeb742c01b39f092f8 (patch)
tree6c6673f6cfaf70e036cdda07fdb267c2c1fe21f4 /tests/test-custom-comments-comment-inline-border.el
parentf796042018e470f11ee4dfbe60d955d9f2e1b2d0 (diff)
downloaddotemacs-cf1c0ea6fa9fb9a0fb7a3ceeb742c01b39f092f8.tar.gz
dotemacs-cf1c0ea6fa9fb9a0fb7a3ceeb742c01b39f092f8.zip
refactor(org-drill): share one validated drill-file selector
org-capture-config.el and org-drill-config.el each scanned drill-dir with an inline directory-files call, so a missing, empty, or unreadable drill-dir surfaced as a low-level directory-files error or an empty completing-read, depending on which command ran. Added cj/--drill-files-or-error, the single validated entry point: it signals a clear user-error when the directory is missing, unreadable, or has no drill files, and otherwise returns the list. cj/--drill-pick-file and both drill capture templates now route through it. The pure cj/--drill-files-in primitive and its tests are unchanged. Tests cover missing dir, empty dir, a non-org-only dir, and a normal listing.
Diffstat (limited to 'tests/test-custom-comments-comment-inline-border.el')
0 files changed, 0 insertions, 0 deletions