diff options
Diffstat (limited to 'early-init.el')
| -rw-r--r-- | early-init.el | 17 |
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) | ||