diff options
| -rw-r--r-- | emacs/.config/emacs/early-init.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/.config/emacs/early-init.el b/emacs/.config/emacs/early-init.el index 0a05906..8792449 100644 --- a/emacs/.config/emacs/early-init.el +++ b/emacs/.config/emacs/early-init.el | |||
| @@ -5,6 +5,12 @@ | |||
| 5 | ;; It will be replaced by GCMH :) | 5 | ;; It will be replaced by GCMH :) |
| 6 | (setq gc-cons-threshold most-positive-fixnum) | 6 | (setq gc-cons-threshold most-positive-fixnum) |
| 7 | 7 | ||
| 8 | ;; Fix for native compilation errors on macOS GUI launch | ||
| 9 | (let ((brew-prefix "/opt/homebrew/bin")) | ||
| 10 | (when (file-directory-p brew-prefix) | ||
| 11 | (setenv "PATH" (concat brew-prefix ":" (getenv "PATH"))) | ||
| 12 | (add-to-list 'exec-path brew-prefix))) | ||
| 13 | |||
| 8 | ;; Disable package.el in favour of elpaca | 14 | ;; Disable package.el in favour of elpaca |
| 9 | (setq package-enable-at-startup nil) | 15 | (setq package-enable-at-startup nil) |
| 10 | 16 | ||