Correct comments on auto-save #4096

This commit is contained in:
Henrik Lissner 2020-10-20 23:32:00 -04:00
parent 664937a3f3
commit 8892be8372
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -96,8 +96,9 @@ possible."
;; But turn on auto-save, so we have a fallback in case of crashes or lost data. ;; 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. ;; Use `recover-file' or `recover-session' to recover them.
(setq auto-save-default t (setq auto-save-default t
;; Don't auto-disable auto-save after deleting big chunks. Kind of ;; Don't auto-disable auto-save after deleting big chunks. This defeats
;; defaults the purpose of a fallback in case of crashes. ;; 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 auto-save-include-big-deletions t
;; ...but have directories set up in case we use it. ;; ...but have directories set up in case we use it.
auto-save-list-file-prefix (concat doom-cache-dir "autosave/") auto-save-list-file-prefix (concat doom-cache-dir "autosave/")