diff options
| author | Astounds <kirito@disroot.org> | 2026-02-28 00:39:33 -0500 |
|---|---|---|
| committer | Astounds <kirito@disroot.org> | 2026-02-28 00:39:33 -0500 |
| commit | 47333c1f4f6fd88c4f737d60bf0d796c357861a2 (patch) | |
| tree | 5cb37c3ae69f7fc252e2db078f654d94c9f4bff8 /init.el | |
| parent | 1aedc8d100b656b26f8bd83a98e947b009a1b977 (diff) | |
| download | emacs-personal-47333c1f4f6fd88c4f737d60bf0d796c357861a2.tar.lz emacs-personal-47333c1f4f6fd88c4f737d60bf0d796c357861a2.tar.xz emacs-personal-47333c1f4f6fd88c4f737d60bf0d796c357861a2.zip | |
Performance improvements (2.4s → 0.97s, 60% faster):
- Enable use-package-always-defer for lazy loading
- Add native compilation support (Emacs 28+)
- Defer company, ivy, projectile with :defer
- Move settings from :config to :init where possible
- Remove redundant package-refresh-contents
Diffstat (limited to 'init.el')
| -rw-r--r-- | init.el | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -10,8 +10,6 @@ ;;; Time Mark (setq emacs-load-start-time (current-time)) -(setq package-check-signature 'allow-unsigned) - ;;; Fix TLS emacs 26.x (if (version<= emacs-version "26.2") (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")) @@ -55,6 +53,12 @@ (setq user-emacs-directory default-directory)) (push (concat user-emacs-directory "modules") load-path) +;;; Native compilation (Emacs 28+) +(when (fboundp 'native-comp-available-p) + (setq native-comp-async-report-warnings-errors nil + native-comp-deferred-compilation t + native-comp-jit-compilation t)) + ;;;------------------------------ ;;; Features ;;;------------------------------ |
