Added funciton to rename buffers in emacs.