radian-software / radian

🍉 Dotfiles that marry elegance and practicality.
MIT License
490 stars 47 forks source link

C-g to stop search leaves overlays behind #484

Closed haji-ali closed 3 years ago

haji-ali commented 3 years ago

I noticed that when I am in a CTRLF session if I navigate away from the mini buffer to select another window then press C-g to cancel the search the CTRLF overlays stay behind.

Is this a known bug?

raxod502 commented 3 years ago

Heh, this actually turns out to be a Radian bug, due to this code!

https://github.com/raxod502/radian/blob/c508178ae1d8483985bf9446074d64fcbc0e3f4e/emacs/radian.el#L959-L969

Lemme fix it real quick---I'd never actually tracked down the exact conditions to reproduce before, so thanks for that :)

raxod502 commented 3 years ago

Should be fixed now.