From 47333c1f4f6fd88c4f737d60bf0d796c357861a2 Mon Sep 17 00:00:00 2001 From: Astounds Date: Sat, 28 Feb 2026 00:39:33 -0500 Subject: perf: optimize startup time and fix theme colors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- modules/init-gui.el | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'modules/init-gui.el') diff --git a/modules/init-gui.el b/modules/init-gui.el index b8aa6ba..9857326 100644 --- a/modules/init-gui.el +++ b/modules/init-gui.el @@ -10,16 +10,23 @@ (setq use-dialog-box nil) (setq inhibit-startup-screen t) (setq inhibit-startup-echo-area-message t) +(setq inhibit-startup-message t) +(setq inhibit-hello-hook t) +(setq inhibit-x-resources t) (when (display-graphic-p) (tool-bar-mode 0) (scroll-bar-mode 0) (menu-bar-mode 0)) -(setq make-backup-files nil) ; stop creating backup~ files -(setq auto-save-default nil) ; stop creating #autosave# files -(setq create-lockfiles nil) ; stop creating #create-lockfiles -;; Suppressing ad-handle-definition Warnings in Emacs +(setq make-backup-files nil) +(setq auto-save-default nil) +(setq create-lockfiles nil) (setq ad-redefinition-action 'accept) +;; Disable unnecessary features for speed +(setq ring-bell-function 'ignore) +(setq use-short-answers t) +(setq confirm-kill-emacs nil) + ;;------------------------------ ;; Core settings | UTF-8 please ;;------------------------------ -- cgit v1.2.3