added save macro feature in emacs