Set large-file-warning-threshold to 100MB (by default it was just 10)
This commit is contained in:
parent
e3c373ca13
commit
3473350829
1 changed files with 3 additions and 0 deletions
3
init.el
3
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)
|
||||
|
|
Loading…
Reference in a new issue