* gash/environment.scm (save-variables-excursion): New procedure. * gash/shell.scm (sh:exec-let): Use it to set up temporary assignments during the extent of a function. * tests/temporary-assignments.org: New file. * Makefile.am (TESTS): Add it.