emacs - GC config
This commit is contained in:
parent
56f5b41257
commit
f567040a7a
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
||||||
(package-initialize)
|
(package-initialize)
|
||||||
(require 'cl)
|
(require 'cl)
|
||||||
|
|
||||||
|
(setq gc-cons-threshold (* 16 1024 1024))
|
||||||
|
(setq gc-cons-percentage 0.3)
|
||||||
|
|
||||||
;; Change all prompts to y or n
|
;; Change all prompts to y or n
|
||||||
(fset 'yes-or-no-p 'y-or-n-p)
|
(fset 'yes-or-no-p 'y-or-n-p)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue