ipython/ipython — pull request #2816 by minrk (2013-01-19 22:02:20+00:00)
Title: in %edit, don't save "last_call" unless last call succeeded

avoids failing calls to `%edit` from killing future `%edit -p`

closes #2466