summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2020-12-30 23:34:05 -0600
committerCase Duckworth2020-12-30 23:34:05 -0600
commit6eb8fa9fdadf1a266e2e1519eec552cce6d2882e (patch)
tree6868cdd8cbb54affe39ed94facc8aee22ddcab71 /init.el
parentRemove use-package (diff)
downloademacs-6eb8fa9fdadf1a266e2e1519eec552cce6d2882e.tar.gz
emacs-6eb8fa9fdadf1a266e2e1519eec552cce6d2882e.zip
Fold init.el and early-init.el together
Weren’t doin’ no good apart.
Diffstat (limited to 'init.el')
-rw-r--r--init.el14
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)