save Emacs commands history