diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-08-10 15:52:43 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-08-10 15:52:43 +0100 |
commit | 04475cb0b5dabe226a54b05f584a2ba49e92cf5a (patch) | |
tree | 9ee386a747a54e261c9b9b3a50faa65201cf2cc0 | |
parent | 7f394ccfe02eed90e902bfcd28e825a7f735c164 (diff) | |
download | dotfiles-04475cb0b5dabe226a54b05f584a2ba49e92cf5a.tar.gz |
Move after-init-hook code earlier
-rw-r--r-- | .emacs.d/init.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index cbf6206..66f5e1b 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -18,6 +18,10 @@ (add-to-list 'load-path (expand-file-name "lisp" user-emacs-directory)) +(add-hook 'after-init-hook #'(lambda () + (setq gc-cons-threshold (* 100 1024 1024) + gc-cons-percentage 0.1))) + (require 'init-packages) (require 'init-ui) (require 'init-compile) @@ -49,7 +53,4 @@ (require 'init-tramp) (require 'init-local nil t) -(add-hook 'after-init-hook '(lambda () - (setq gc-cons-threshold (* 100 1024 1024) - gc-cons-percentage 0.1))) ;;; init.el ends here |