Skip to content

Instantly share code, notes, and snippets.

@nimeshneema
Created November 20, 2025 17:58
Show Gist options
  • Select an option

  • Save nimeshneema/92783fb1c9940d19b096af8e07704eaa to your computer and use it in GitHub Desktop.

Select an option

Save nimeshneema/92783fb1c9940d19b096af8e07704eaa to your computer and use it in GitHub Desktop.
;;; early-init.el --- UI Tweaks before GUI Load -*- lexical-binding: t; -*-
;; Disable package initialization until init.el is loaded
(setq package-enable-at-startup nil)
;; Prevent UI elements from drawing initially (cleaner startup)
;; We comment out the menu bar line to keep it visible, but keep the others
;; for a cleaner startup experience.
; (push '(menu-bar-lines . 0) default-frame-alist) ; <--- THIS LINE IS NOW COMMENTED/REMOVED
(push '(tool-bar-lines . 0) default-frame-alist)
(push '(vertical-scroll-bars . nil) default-frame-alist)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment