From 6eb8fa9fdadf1a266e2e1519eec552cce6d2882e Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 30 Dec 2020 23:34:05 -0600 Subject: Fold init.el and early-init.el together Weren’t doin’ no good apart. --- init.el | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index fadf705..faef4d4 100644 --- a/init.el +++ b/init.el @@ -1,10 +1,12 @@ ;; init.el -*- lexical-binding: t -*- -(setq gc-cons-threshold most-positive-fixnum) -(defvar old-file-name-handler file-name-handler-alist) -(setq file-name-handler-alist nil) +(setq load-prefer-newer t) -(let* ((conf (expand-file-name "config" +(let* (;; Speed up init + (gc-cons-threshold most-positive-fixnum) + (file-name-handler-alist nil) + ;; Config file names + (conf (expand-file-name "config" user-emacs-directory)) (conf-el (concat conf ".el")) (conf-org (concat conf ".org"))) @@ -12,7 +14,3 @@ (load conf 'no-error)) (require 'org) (org-babel-load-file conf-org))) - -(setq gc-cons-threshold 16777216 ; 16mb - gc-cons-percentage 0.1 - file-name-handler-alist old-file-name-handler) -- cgit 1.4.1-21-gabe81