diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-05 05:16:39 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-05 05:16:39 -0500 |
| commit | f5d67d7a0a48cd68d7f443ca475c0c7bc59a8468 (patch) | |
| tree | fb5a08026058fdea861a248b1e7103bfea092166 /test-from-git | |
| parent | aa3d724c6bdd3a16391ad95040184c118386d329 (diff) | |
| download | org-drill-f5d67d7a0a48cd68d7f443ca475c0c7bc59a8468.tar.gz org-drill-f5d67d7a0a48cd68d7f443ca475c0c7bc59a8468.zip | |
fix: guard org-drill-again and org-drill-resume against nil last-session
Both functions bound session to org-drill-last-session and immediately
called setf / org-drill-entries-pending-p on it without checking for
nil. First-time invocation (or after Emacs restart with no active
session) threw an obscure eieio-oset / nil-slot type error instead
of a clear message.
Added (unless session (user-error ...)) at the top of each function.
A user running M-x org-drill-resume cold now sees a sensible message
telling them to run org-drill first.
Diffstat (limited to 'test-from-git')
0 files changed, 0 insertions, 0 deletions
