From ed71744480d0ba6399dfc8a119ed28611addc8c2 Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Sat, 27 Jul 2024 10:44:53 +0300 Subject: In the beginning there was darkness --- early-init.el | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 early-init.el (limited to 'early-init.el') 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 @@ +;; -*- 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) -- cgit v1.2.3