For the function vr--target-window, its call to get-buffer-window should use the second argument to respect multi frame Emacs configurations as well for packages like maple-minibuffer. Otherwise visual-regexp will throw an error when called and sort of break (replacing still works but the UI of visual-regexp kind of goes haywire as overlays stick around, etc.).
Recommend replacement (incl. changing the if with when for better readability):
For the function
vr--target-window
, its call toget-buffer-window
should use the second argument to respect multi frame Emacs configurations as well for packages likemaple-minibuffer
. Otherwisevisual-regexp
will throw an error when called and sort of break (replacing still works but the UI ofvisual-regexp
kind of goes haywire as overlays stick around, etc.).Recommend replacement (incl. changing the
if
withwhen
for better readability):Thoughts?
Thanks for a great package BTW! :)