Skip to content

Instantly share code, notes, and snippets.

@hamid-rostami
Created December 6, 2023 09:47
Show Gist options
  • Save hamid-rostami/149b9d4dbe9b7470909abd4e0e3c75fb to your computer and use it in GitHub Desktop.
Save hamid-rostami/149b9d4dbe9b7470909abd4e0e3c75fb to your computer and use it in GitHub Desktop.
My Emacs Config File
(make-directory "~/.emacs_backups/" t)
(make-directory "~/.emacs_autosave/" t)
(setq backup-directory-alist '(("." . "~/.emacs_backups/")))
(setq auto-save-file-name-transforms '((".*" "~/.emacs_autosave/" t)))
(setq ring-bell-function 'ignore)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment