fix: menubar appearing early during frame load
This commit is contained in:
parent
f95e050832
commit
16ebdead10
14
early-init.el
Normal file
14
early-init.el
Normal file
|
@ -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
|
1
init.el
1
init.el
|
@ -8,7 +8,6 @@
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
;; Disable Emacs' GTK decorations. Done in this file otherwise done too late.
|
;; Disable Emacs' GTK decorations. Done in this file otherwise done too late.
|
||||||
(menu-bar-mode -1)
|
|
||||||
(tool-bar-mode -1)
|
(tool-bar-mode -1)
|
||||||
(scroll-bar-mode -1)
|
(scroll-bar-mode -1)
|
||||||
|
|
||||||
|
|
Reference in a new issue