summaryrefslogtreecommitdiff
path: root/early-init.el
blob: 6757f7b8ff90ef919061b4b788856b249ce83e0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
;; -*- lexical-binding: t -*-
;; Copyright © 2018-2025  Uko Koknevics

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

;; Disable package.el in favour of elpaca
(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))

(add-to-list 'load-path (expand-file-name "arkta" user-emacs-directory))

(defconst loaded-early-init t)