Set large-file-warning-threshold to 100MB (by default it was just 10)

This commit is contained in:
Bozhidar Batsov 2014-05-14 16:08:21 +03:00
parent e3c373ca13
commit 3473350829

View file

@ -87,6 +87,9 @@ by Prelude.")
;; each 50MB of allocated data (the default is on every 0.76MB) ;; each 50MB of allocated data (the default is on every 0.76MB)
(setq gc-cons-threshold 50000000) (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' ;; preload the personal settings from `prelude-personal-preload-dir'
(when (file-exists-p prelude-personal-preload-dir) (when (file-exists-p prelude-personal-preload-dir)
(message "Loading personal configuration files in %s..." prelude-personal-preload-dir) (message "Loading personal configuration files in %s..." prelude-personal-preload-dir)