From 3473350829d0095668ed2f1368684e6ef2bc2ca3 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Wed, 14 May 2014 16:08:21 +0300 Subject: [PATCH] Set large-file-warning-threshold to 100MB (by default it was just 10) --- init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.el b/init.el index 713a355..4482efa 100644 --- a/init.el +++ b/init.el @@ -87,6 +87,9 @@ by Prelude.") ;; each 50MB of allocated data (the default is on every 0.76MB) (setq gc-cons-threshold 50000000) +;; warn when opening files bigger than 100MB +(setq large-file-warning-threshold 100000000) + ;; preload the personal settings from `prelude-personal-preload-dir' (when (file-exists-p prelude-personal-preload-dir) (message "Loading personal configuration files in %s..." prelude-personal-preload-dir)