benma / visual-regexp.el

A regexp/replace command for Emacs with interactive visual feedback
392 stars 28 forks source link

Add a hook after vr/replace vr/query-replace #60

Open p1llule opened 3 years ago

p1llule commented 3 years ago

Hi Benma,

Here an additional hook after vr/replace and vr/query-replace.

I use this patch with firstly taoline and then with feebleline. They also uses extensively the echo area and so they need to be neutralized before using a visual-regexp command; and restored after; otherwise they will conflict with visual-regexp and it will not display its visual feedback.

This hook allows me to do so without totally deactivating their mode (and so keeping an interface without modeline along using visual-regexp).