When invoking the editor in the edit action, restore the entire start-time environment, as the editor may want things from it, like TERM.
When invoking the editor in the edit action, restore the entire start-time environment,
as the editor may want things from it, like TERM.

Thanks for testing, Joe Auty!

git-svn-id: 620571fa9b4bd0cbce9a0cf901e91ef896adbf27@14564 d073be05-634f-4543-b044-5fe20cf6d1d6

danchr/macports-base,neverpanic/macports-base,macports/macports-base,danchr/macports-base,neverpanic/macports-base,macports/macports-base