From a95bd49c04237d2d1c6cc298989f18a9662fc2d5 Mon Sep 17 00:00:00 2001 From: Joshua Barrett Date: Sat, 7 Feb 2026 21:45:10 -0500 Subject: [PATCH] Ensure backup files don't litter the filesystem by isolating them --- init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 4248f9f..33948cb 100644 --- a/init.el +++ b/init.el @@ -164,7 +164,10 @@ (if (fboundp 'tool-bar-mode) (tool-bar-mode -1)) (if (fboundp 'menu-bar-mode) (menu-bar-mode -1)) (if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1)) - (prefer-coding-system 'utf-8-unix)) + (prefer-coding-system 'utf-8-unix) + (setq backup-directory-alist + `(("." . + ,(expand-file-name "var/backups/" user-emacs-directory))))) (use-package repeat :ensure nil :config -- 2.51.2