diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-05 09:29:01 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-05 09:29:01 -0500 |
| commit | ffca04d90e94c5d4e40139282811630028d586ce (patch) | |
| tree | 3b60b0de8868d2809d3b73038b4a7529c47817e2 /test-from-git | |
| parent | e2378b05dff1a92325ba0392d3adadd630a5fca9 (diff) | |
| download | org-drill-ffca04d90e94c5d4e40139282811630028d586ce.tar.gz org-drill-ffca04d90e94c5d4e40139282811630028d586ce.zip | |
refactor: extract LEECH-warning preamble helper
The seven-line propertize+concat block that prepends a red leech
warning to the prompt was inlined in three prompt builders:
presentation-prompt-in-mini-buffer, presentation-prompt-in-buffer,
and presentation-prompt-for-string.
Extracted org-drill--maybe-prepend-leech-warning as a single helper
the three call. 21 lines duplicated → one definition + three
one-line call sites.
Diffstat (limited to 'test-from-git')
0 files changed, 0 insertions, 0 deletions
