Move default-frame-alist to early-init
This commit is contained in:
parent
01a53ccdc5
commit
6b5ddde6f5
2 changed files with 6 additions and 8 deletions
|
@ -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
|
||||
|
|
8
init.el
8
init.el
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue