diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2023-12-12 23:18:17 +0100 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2023-12-12 23:30:29 +0100 |
| commit | 2d437af6f1f9196b57e474378dac4d81fc70f3c9 (patch) | |
| tree | 694626bbe24a8890c51a9db550bc299819cb68db /config/emacs/early-init.el | |
| parent | 28b288cff2ab27a2f22e7561a367702016573570 (diff) | |
Small refactor and fix first run
Diffstat (limited to 'config/emacs/early-init.el')
| -rw-r--r-- | config/emacs/early-init.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/emacs/early-init.el b/config/emacs/early-init.el index 6201658..124f57b 100644 --- a/config/emacs/early-init.el +++ b/config/emacs/early-init.el @@ -1,6 +1,9 @@ ;;; 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/" @@ -13,7 +16,7 @@ ;;; Suppress native-comp warnings on startup (setq warning-suppress-log-types '((comp) (bytecomp))) -;;; HACK: Work around native compilation errors on macOS... +;;; HACK: Work around native compilation errors on macOS + Macports... (if (eq system-type 'darwin) (setenv "LIBRARY_PATH" "/opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0") ) |
