When selecting some candidates via (embark-select), the suggested way to remove all selections is to (embark-act-all) and then toggle the selection for all of them. If you do not do this immediately and instead for example call (revert-buffer) the overlays remain, but the selection is not active anymore.
I did not find a simple way to remove those overlays and used the non-interactive function (remove-overlays) for that. Maybe one could add an interactive function to get rid of all selections and overlays to fix such issues?
When selecting some candidates via
(embark-select), the suggested way to remove all selections is to(embark-act-all)and then toggle the selection for all of them. If you do not do this immediately and instead for example call(revert-buffer)the overlays remain, but the selection is not active anymore.I did not find a simple way to remove those overlays and used the non-interactive function
(remove-overlays)for that. Maybe one could add an interactive function to get rid of all selections and overlays to fix such issues?