From 8892be8372679456a07b7cb3d0eb31d8a2a4b437 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 20 Oct 2020 23:32:00 -0400 Subject: [PATCH] Correct comments on auto-save #4096 --- core/core-editor.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/core-editor.el b/core/core-editor.el index 7a0754fad..296c83c74 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -96,8 +96,9 @@ possible." ;; But turn on auto-save, so we have a fallback in case of crashes or lost data. ;; Use `recover-file' or `recover-session' to recover them. (setq auto-save-default t - ;; Don't auto-disable auto-save after deleting big chunks. Kind of - ;; defaults the purpose of a fallback in case of crashes. + ;; Don't auto-disable auto-save after deleting big chunks. This defeats + ;; the purpose of a failsafe. This adds the risk of losing the data we + ;; just deleted, but I believe that's VCS's jurisdiction, not ours. auto-save-include-big-deletions t ;; ...but have directories set up in case we use it. auto-save-list-file-prefix (concat doom-cache-dir "autosave/")