1

Move font selection to early-init

This commit is contained in:
Jessie Hildebrandt 2022-12-19 22:37:28 -05:00
parent af034bf172
commit 39861418b8

12
init.el
View File

@ -58,6 +58,8 @@
;;
;; -------------------------------------------------------------------------- ;;
(defconst user/font "Fira Code 10" "Default font.")
(defconst user/init-file (locate-user-emacs-file "init.el") "Location of user init file.")
(defconst user/early-init-file (locate-user-emacs-file "early-init.el") "Location of user early-init file.")
@ -66,7 +68,7 @@
;; ---------------------------------- ;;
(defvar user/early-init-forms
'(";;; early-init.el --- Early initialization -*- lexical-binding: t; -*-"
`(";;; early-init.el --- Early initialization -*- lexical-binding: t; -*-"
";; This file is not part of GNU Emacs."
@ -100,7 +102,8 @@
";; Configure GUI components before initial frame creation"
(setq frame-inhibit-implied-resize t
default-frame-alist '((menu-bar-lines . 0)
default-frame-alist '((font . ,user/font)
(menu-bar-lines . 0)
(tool-bar-lines . 0)
(vertical-scroll-bars . nil)
(background-color . "gray15")
@ -352,11 +355,6 @@ DOCSTRING is an optional form that is discarded upon expansion."
;; Filter out buffer-incompatible interactive commands by default
(read-extended-command-predicate #'command-completion-default-include-p)
:custom-face
;; Default font
(default ((t (:family "Fira Code Regular" :height 100))))
:bind
;; General binds