if [ -x /usr/bin/emacsclient ] && [ -x /usr/bin/emacs ]; then
# reset the tempdir to deal with setuid things clearing it
export TMPDIR="$(echo ~/tmp)";
if [ -x /usr/bin/emacsclient ] && [ -x /usr/bin/emacs ]; then
# reset the tempdir to deal with setuid things clearing it
export TMPDIR="$(echo ~/tmp)";