Fixed switch-window code in .emacs for lastest version of switch window