prompt: set up the prepared answer before allowing to change it

This fixes https://savannah.gnu.org/bugs/?48916.
1 file changed