commit a506941b1aae88c3a84cf33bb16d1a30a4dfbcfd from: Ashton Wiersdorf date: Tue Jul 8 17:26:04 2025 UTC Add comment on a simpler backup file configuration Closes #5 commit - 661392df59faf7f5d66317bd526a59ed3f19b7d3 commit + a506941b1aae88c3a84cf33bb16d1a30a4dfbcfd blob - d5d0765d5f34f2b3297ecb8940cbf1b69492605f blob + fc2e877e5818b57ec06134066076cba1189ce1d9 --- init.el +++ init.el @@ -86,6 +86,15 @@ If the new path's directories does not exist, create t backupFilePath)) (setopt make-backup-file-name-function 'bedrock--backup-file-name) +;; The above creates nested directories in the backup folder. If +;; instead you would like all backup files in a flat structure, albeit +;; with their full paths concatenated into a filename, then you can +;; use the following configuration: +;; (Run `'M-x describe-variable RET backup-directory-alist RET' for more help) +;; +;; (let ((backup-dir (expand-file-name "emacs-backup/" user-emacs-directory))) +;; (setopt backup-directory-alist `(("." . ,backup-dir)))) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; ;;; Discovery aids