diff --git a/early-init.el b/early-init.el new file mode 100644 index 0000000..d7cc1b6 --- /dev/null +++ b/early-init.el @@ -0,0 +1,14 @@ +;;; early-init.el --- Early changes to Emacs -*- lexical-binding: t; -*- +;;; Commentary: +;; +;; This file contains elisp code to be run as early as Emacs will allow - this +;; means before the frame is actually loaded, which is why this file isn't +;; used as a replacement for the init.el file - time taken for the window to load +;; is more painful than time taken for the editor to load. +;; +;;; Code: + +;; Disable the menubar. Done in this file otherwise done too late. +(menu-bar-mode -1) + +;;; early-init.el ends here diff --git a/init.el b/init.el index c772382..7e6dd62 100644 --- a/init.el +++ b/init.el @@ -8,7 +8,6 @@ ;;; Code: ;; Disable Emacs' GTK decorations. Done in this file otherwise done too late. -(menu-bar-mode -1) (tool-bar-mode -1) (scroll-bar-mode -1)