Postpone large file warnings

My Org archive is large enough to trigger this warning every time I open it and it's annoying.
Emacs can handle that file size easily, so let's increase that limit.
This commit is contained in:
Daniel Borchmann 2025-11-09 11:35:53 +01:00
parent 32548786b1
commit cd7e8b2226
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

View File

@ -2223,8 +2223,8 @@ Note that this workaround is incomplete, as explained in this comment."
;;* File Handling
(setq large-file-warning-threshold 10000000
delete-by-moving-to-trash t)
(setopt large-file-warning-threshold (* 50 1024 1024)
delete-by-moving-to-trash t)
;; Backups and Autosave
(defvar backup-dir (expand-file-name "ebackup/" emacs-d))