summaryrefslogtreecommitdiff
path: root/early-init.el
blob: 097923dbf4609635cc3b76ccb211afd34fb998f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;; -*- lexical-binding: t -*-

;; Shutdown GC during initialisation
;; It will be replaced by GCMH :)
(setq gc-cons-threshold most-positive-fixnum)

;; Disable package.el in favour of straight.el
(setq package-enable-at-startup nil)

;; UTF-8 duh
(set-language-environment "UTF-8")
(setq selection-coding-system 'utf-8
      default-input-method nil)

(setq user-emacs-directory (file-name-directory load-file-name))

(defconst loaded-early-init t)