diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/init.el b/init.el index fadf705..faef4d4 100644 --- a/init.el +++ b/init.el | |||
@@ -1,10 +1,12 @@ | |||
1 | ;; init.el -*- lexical-binding: t -*- | 1 | ;; init.el -*- lexical-binding: t -*- |
2 | 2 | ||
3 | (setq gc-cons-threshold most-positive-fixnum) | 3 | (setq load-prefer-newer t) |
4 | (defvar old-file-name-handler file-name-handler-alist) | ||
5 | (setq file-name-handler-alist nil) | ||
6 | 4 | ||
7 | (let* ((conf (expand-file-name "config" | 5 | (let* (;; Speed up init |
6 | (gc-cons-threshold most-positive-fixnum) | ||
7 | (file-name-handler-alist nil) | ||
8 | ;; Config file names | ||
9 | (conf (expand-file-name "config" | ||
8 | user-emacs-directory)) | 10 | user-emacs-directory)) |
9 | (conf-el (concat conf ".el")) | 11 | (conf-el (concat conf ".el")) |
10 | (conf-org (concat conf ".org"))) | 12 | (conf-org (concat conf ".org"))) |
@@ -12,7 +14,3 @@ | |||
12 | (load conf 'no-error)) | 14 | (load conf 'no-error)) |
13 | (require 'org) | 15 | (require 'org) |
14 | (org-babel-load-file conf-org))) | 16 | (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) | ||