summaryrefslogtreecommitdiff
path: root/early-init.el
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2024-07-27 10:44:53 +0300
committerGravatar Uko Kokņevičs2024-07-27 10:44:53 +0300
commited71744480d0ba6399dfc8a119ed28611addc8c2 (patch)
treebc6d0edeeb4479874400ea8bea6a9d46511940a2 /early-init.el
downloademacs.d-ed71744480d0ba6399dfc8a119ed28611addc8c2.tar.gz
emacs.d-ed71744480d0ba6399dfc8a119ed28611addc8c2.tar.xz
emacs.d-ed71744480d0ba6399dfc8a119ed28611addc8c2.zip
In the beginning there was darkness
Diffstat (limited to 'early-init.el')
-rw-r--r--early-init.el17
1 files changed, 17 insertions, 0 deletions
diff --git a/early-init.el b/early-init.el
new file mode 100644
index 0000000..097923d
--- /dev/null
+++ b/early-init.el
@@ -0,0 +1,17 @@
1;; -*- lexical-binding: t -*-
2
3;; Shutdown GC during initialisation
4;; It will be replaced by GCMH :)
5(setq gc-cons-threshold most-positive-fixnum)
6
7;; Disable package.el in favour of straight.el
8(setq package-enable-at-startup nil)
9
10;; UTF-8 duh
11(set-language-environment "UTF-8")
12(setq selection-coding-system 'utf-8
13 default-input-method nil)
14
15(setq user-emacs-directory (file-name-directory load-file-name))
16
17(defconst loaded-early-init t)