diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-03 19:28:36 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-03 19:28:36 -0500 |
| commit | 4eabb5c8264f0754489027a8ea12e2a49589f9b6 (patch) | |
| tree | b4284726cbceed90e01996ea88281c8193aac1a6 /modules/diff-config.el | |
| parent | 4f96048ff0c96e70b54caaab9588fc51ce6551ec (diff) | |
| download | dotemacs-4eabb5c8264f0754489027a8ea12e2a49589f9b6.tar.gz dotemacs-4eabb5c8264f0754489027a8ea12e2a49589f9b6.zip | |
fix: close drill capture template source link
The "d" drill capture template had a malformed source link with only one closing bracket and a literal `n` where a newline should have been:
Source: [[%:link][%:description]
nCaptured On: %U
So new drill captures wrote a broken link and `nCaptured On:` instead of a clean `Captured On:` line on the next row.
I closed the link with the missing `]`, and removed the stray `n` so the line break before "Captured On" is just a real newline. The "f" (PDF drill) template was already correct, so I left it alone.
I added `tests/test-org-capture-config-drill-template.el`. It loads the module, picks up the "d" template, and asserts both the closed link and the `\nCaptured On: %U` form, plus negative assertions against the broken pre-fix shapes.
Diffstat (limited to 'modules/diff-config.el')
0 files changed, 0 insertions, 0 deletions
