aboutsummaryrefslogtreecommitdiffstats
path: root/modules/init-gui.el
diff options
context:
space:
mode:
authorAstounds <kirito@disroot.org>2026-02-28 00:39:33 -0500
committerAstounds <kirito@disroot.org>2026-02-28 00:39:33 -0500
commit47333c1f4f6fd88c4f737d60bf0d796c357861a2 (patch)
tree5cb37c3ae69f7fc252e2db078f654d94c9f4bff8 /modules/init-gui.el
parent1aedc8d100b656b26f8bd83a98e947b009a1b977 (diff)
downloademacs-personal-47333c1f4f6fd88c4f737d60bf0d796c357861a2.tar.lz
emacs-personal-47333c1f4f6fd88c4f737d60bf0d796c357861a2.tar.xz
emacs-personal-47333c1f4f6fd88c4f737d60bf0d796c357861a2.zip
perf: optimize startup time and fix theme colorsHEADmaster
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 'modules/init-gui.el')
-rw-r--r--modules/init-gui.el15
1 files changed, 11 insertions, 4 deletions
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
;;------------------------------