Revived emacs settings for undo-tree