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 | 2fa72500f16b41678d42d8e7933f9523313568b4 (patch) | |
| tree | b4284726cbceed90e01996ea88281c8193aac1a6 /modules/diff-config.el | |
| parent | 62cf1c69f498cae775308f6dbb65aa7746046a13 (diff) | |
| download | dotemacs-2fa72500f16b41678d42d8e7933f9523313568b4.tar.gz dotemacs-2fa72500f16b41678d42d8e7933f9523313568b4.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
