Open Tekki opened 6 months ago
It helps if I change the beginning of the code to
(require 'svg)
(eval-when-compile
(provide 'subed-waveform)
(require 'subed-common))
The call to provide
is to prevent a circular reference between the two files. Which is a bit ugly; why is subed-waveform
(and subed-mpv
) required in subed-common
?
Whoops, thanks! Yeah, that require didn't make sense. I've swapped them around. Does this work better for you?
subed 1.2.11 Emacs 29.1 Debian Bookworm 12.4
When I call
subed-waveform-toggle-show-all
I get the error messageThis error doesn't occur if I either
subed-waveform.el
and recompilesubed-waveform-add-to-all
; orsubed-waveform.elc
If I byte-recompile subed-waveform I get, between a lot of similar warnings, the following one
And when I use waveform after that, the error appears again.