aboutsummaryrefslogtreecommitdiff
path: root/config/emacs/early-init.el
blob: c624f5baab6d85177fec58abcbcae198043dc2a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;;; Go VROOM-VROOM
(setq gc-cons-threshold 10000000)

;;; 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)))

;;; HACK: Work around native compilation errors on macOS...
(setenv "LIBRARY_PATH" "/opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0")