DONE prep session may fail if comint prompt is not empty

  • State "DONE" from "TODO" 2010-06-07 Mon 12:20
  • State "TODO" from "" 2010-04-08 Thu 15:22

I think the current code assumes that we can just go to the comint buffer and insert stuff and do comint-send-input. However, the user might have left some characters lying around after the comint prompt.