Move default-frame-alist setting to early-init.el

This commit is contained in:
eriedaberrie 2022-12-29 21:41:21 -08:00
parent f58fa0174b
commit 690a444399
2 changed files with 5 additions and 3 deletions

5
early-init.el Normal file
View file

@ -0,0 +1,5 @@
;;; EMACS early-init file -*- lexical-binding:t -*-
;; Set frame parameters early
(setq default-frame-alist '((font . "JetbrainsMono Nerd Font-10.5")
(alpha-background . 0.94)))

View file

@ -429,7 +429,6 @@
(setq pixel-scroll-precision-large-scroll-height 40)
(pixel-scroll-precision-mode)
(add-to-list 'default-frame-alist '(font . "JetbrainsMono Nerd Font-10.5"))
(setcar mouse-wheel-scroll-amount 3)
@ -490,7 +489,5 @@
(add-to-list 'auto-mode-alist '("\\.yuck\\'" . lisp-mode))
(add-to-list 'default-frame-alist '(alpha-background . 0.94))
(with-current-buffer "*scratch*"
(cd "~/"))