> This worked! After adding this function Emacs no longer hangs after
> entering "yes".

Great.  I'll follow up later with a real fix on the package's buglist (since this isn't an Emacs bug).

Closing this.