Move default-frame-alist to early-init

This commit is contained in:
Marcus Kammer 2024-12-02 16:40:41 +01:00
parent 01a53ccdc5
commit 6b5ddde6f5
2 changed files with 6 additions and 8 deletions

View file

@ -281,6 +281,12 @@ When set to non-nil, Emacs will automatically call `package-initialize' and
("stable" . 70)
("melpa" . 0)))
(push '(font . "MonoLisa-12") default-frame-alist)
(push '(fullscreen . maximized) default-frame-alist)
(if (eq system-type 'gnu/linux)
(push '(undecorated . t) default-frame-alist)
(push '(undecorated . nil) default-frame-alist))
(provide 'early-init)
;;; early-init.el ends here

View file

@ -15,14 +15,6 @@
;; (load "bundle--general")
(setq default-frame-alist
`((font . "MonoLisa-12")
(width . 85)
(height . 50)
(vertical-scroll-bars . nil)
(fullscreen . maximized)
,(if (eq system-type 'gnu/linux) '(undecorated . t) '(undecorated . nil))))
(package-initialize)
(unless package-archive-contents