dotfiles-emacs/.emacs.d/config/backups.el
finga 31ea69ffce backups: Do not backup files in /dev/shm
Prevent backups to happen from files in `/dev/shm`.
2024-05-27 13:49:07 +02:00

9 lines
331 B
EmacsLisp

;; configure backups
(setq backup-directory-alist '(("." . "~/.emacs.d/backups/")
("/dev/shm" . "/dev/null"))
backup-by-copying t
delete-old-versions t
kept-new-versions 16
kept-old-versions 8
version-control t
tramp-backup-directory-alist backup-directory-alist)