Move default-frame-alist setting to early-init.el
This commit is contained in:
parent
f58fa0174b
commit
690a444399
5
early-init.el
Normal file
5
early-init.el
Normal 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)))
|
3
init.el
3
init.el
|
@ -429,7 +429,6 @@
|
||||||
|
|
||||||
(setq pixel-scroll-precision-large-scroll-height 40)
|
(setq pixel-scroll-precision-large-scroll-height 40)
|
||||||
(pixel-scroll-precision-mode)
|
(pixel-scroll-precision-mode)
|
||||||
(add-to-list 'default-frame-alist '(font . "JetbrainsMono Nerd Font-10.5"))
|
|
||||||
|
|
||||||
(setcar mouse-wheel-scroll-amount 3)
|
(setcar mouse-wheel-scroll-amount 3)
|
||||||
|
|
||||||
|
@ -490,7 +489,5 @@
|
||||||
|
|
||||||
(add-to-list 'auto-mode-alist '("\\.yuck\\'" . lisp-mode))
|
(add-to-list 'auto-mode-alist '("\\.yuck\\'" . lisp-mode))
|
||||||
|
|
||||||
(add-to-list 'default-frame-alist '(alpha-background . 0.94))
|
|
||||||
|
|
||||||
(with-current-buffer "*scratch*"
|
(with-current-buffer "*scratch*"
|
||||||
(cd "~/"))
|
(cd "~/"))
|
||||||
|
|
Loading…
Reference in a new issue