diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-05 05:18:59 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-05 05:18:59 -0500 |
| commit | 7f7564612628d31718c2fc1e4471ab7fa29ef3c1 (patch) | |
| tree | a1847e743b1c00cb0984eee39cf4d86aadb6c6d4 /scripts | |
| parent | f5d67d7a0a48cd68d7f443ca475c0c7bc59a8468 (diff) | |
| download | org-drill-7f7564612628d31718c2fc1e4471ab7fa29ef3c1.tar.gz org-drill-7f7564612628d31718c2fc1e4471ab7fa29ef3c1.zip | |
fix: recover from corrupted persist file at package load (upstream #45)
Issue #45 (2021): persist-load raised End of file during parsing
at persist.el:413 in some configurations, likely from a corrupted
persist data file. Pre-fix, this propagated up through the
top-level (persist-defvar org-drill-sm5-optimal-factor-matrix ...)
form at file-load time and broke the entire package's load.
Wrapped the persist-defvar form in condition-case. On failure, the
matrix falls back to a fresh nil binding via plain defvar, and a
message tells the user what happened. org-drill continues to load
normally.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
