Additions for emacs autosave