If you define and install an extension (vhl/define-extension and vhl/install-extension) but volatile-highlight-mode is already running, then the new vhl/ext/whatever/on function is not called. Should (vhl/install-extension 'whatever) also call (vhl/load-extension 'whatever') when vhl is turned on?
If so, that would be easy enough to add. If not, it might be helpful to add that to the README. For example, the code that I'm using to add vhl to evil-mode is
This package is great. Thank you for writing it.
If you define and install an extension (
vhl/define-extension
andvhl/install-extension
) butvolatile-highlight-mode
is already running, then the newvhl/ext/whatever/on
function is not called. Should(vhl/install-extension 'whatever)
also call(vhl/load-extension 'whatever')
whenvhl
is turned on?If so, that would be easy enough to add. If not, it might be helpful to add that to the README. For example, the code that I'm using to add
vhl
toevil-mode
is(Here it would also work to put
(volatile-highlights-mode t)
last, but that's not always a solution.)