summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/init.el b/init.el index 71d8816..fadf705 100644 --- a/init.el +++ b/init.el
@@ -1,5 +1,9 @@
1;; init.el -*- lexical-binding: t -*- 1;; init.el -*- lexical-binding: t -*-
2 2
3(setq gc-cons-threshold most-positive-fixnum)
4(defvar old-file-name-handler file-name-handler-alist)
5(setq file-name-handler-alist nil)
6
3(let* ((conf (expand-file-name "config" 7(let* ((conf (expand-file-name "config"
4 user-emacs-directory)) 8 user-emacs-directory))
5 (conf-el (concat conf ".el")) 9 (conf-el (concat conf ".el"))
@@ -8,3 +12,7 @@
8 (load conf 'no-error)) 12 (load conf 'no-error))
9 (require 'org) 13 (require 'org)
10 (org-babel-load-file conf-org))) 14 (org-babel-load-file conf-org)))
15
16(setq gc-cons-threshold 16777216 ; 16mb
17 gc-cons-percentage 0.1
18 file-name-handler-alist old-file-name-handler)