change save-buffers-kill-emacs to save-buffers-kill-terminal