diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-13 06:32:08 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-13 06:32:08 -0500 |
| commit | 3f44db4f7be24c6daacad0956f019610aeb5f868 (patch) | |
| tree | dbae64a501cdf1c2b8fde7abafaac4d9a2e56936 /modules/coverage-core.el | |
| parent | 7b371461119d5abafc5adcee06b71ce5629d6820 (diff) | |
| download | dotemacs-3f44db4f7be24c6daacad0956f019610aeb5f868.tar.gz dotemacs-3f44db4f7be24c6daacad0956f019610aeb5f868.zip | |
fix(calibredb-epub): point cj/nov--file-path at nov-file-name
The fallback chain was checking `nov-epub-filename` and `nov-epub-file`, but neither symbol exists in nov.el — the real var is `nov-file-name`, set by `nov-mode` from the visited file. Both `boundp` arms always returned nil, so the fallbacks were dead code. The bug was dormant rather than active: `buffer-file-name` always holds the EPUB path for normal nov buffers and covered the first arm of the `or`.
I replaced both wrong-named arms with a single live arm on `nov-file-name`, and added a Boundary test that exercises it.
Diffstat (limited to 'modules/coverage-core.el')
0 files changed, 0 insertions, 0 deletions
