aboutsummaryrefslogtreecommitdiff
path: root/config/emacs/early-init.el
blob: fda615fdeccbc83eb720e7266893e793e450f41c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;;; -*- lexical-binding: t -*-

;; Go VROOM-VROOM
(setq gc-cons-threshold 10000000)

;; Setup the cache directory nice and early; we use it everywhere
(make-directory "~/.cache/emacs" t)

;; Configure package.el directories
(setq
 package-user-dir "~/.cache/emacs/elpa/"
 package-gnupghome-dir "~/.cache/emacs/elpa/gnupg")

;; Configure native-comp cache direactory
(when (boundp 'native-comp-eln-load-path)
  (startup-redirect-eln-cache "~/.cache/emacs/eln-cache"))

;; Suppress native-comp warnings on startup
(setq warning-suppress-log-types '((comp) (bytecomp)))