diff options
author | Case Duckworth | 2022-01-31 00:53:30 -0600 |
---|---|---|
committer | Case Duckworth | 2022-01-31 00:53:30 -0600 |
commit | e8589cec6ca1048b4771be5dbea6323b7f87df9b (patch) | |
tree | 806c3e05212605151481ecaf1938a0c0586f73a6 /early-init.el | |
parent | gah (diff) | |
download | emacs-e8589cec6ca1048b4771be5dbea6323b7f87df9b.tar.gz emacs-e8589cec6ca1048b4771be5dbea6323b7f87df9b.zip |
Change face-setting logic
Diffstat (limited to 'early-init.el')
-rw-r--r-- | early-init.el | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/early-init.el b/early-init.el index 8ceb74f..137c04c 100644 --- a/early-init.el +++ b/early-init.el | |||
@@ -76,19 +76,6 @@ See `no-littering' for examples.") | |||
76 | 76 | ||
77 | ;;; Fonts | 77 | ;;; Fonts |
78 | (+with-ensure-after-init | 78 | (+with-ensure-after-init |
79 | (unless noninteractive ;; Set default faces | ||
80 | (+with-message "Setting default faces" | ||
81 | (let ((font-name machine-default-font) | ||
82 | (font-size machine-default-height) | ||
83 | (variable-font-name machine-variable-pitch-font) | ||
84 | (variable-font-size machine-variable-pitch-height)) | ||
85 | (set-face-attribute 'default nil :family font-name | ||
86 | :height font-size :weight 'book) | ||
87 | (set-face-attribute 'italic nil :family font-name | ||
88 | :height font-size :slant 'italic) | ||
89 | (set-face-attribute 'variable-pitch nil :family variable-font-name | ||
90 | :height variable-font-size)))) | ||
91 | |||
92 | ;; Emoji fonts | 79 | ;; Emoji fonts |
93 | (+with-message "Adding emoji fonts" | 80 | (+with-message "Adding emoji fonts" |
94 | (let ((ffl (font-family-list))) | 81 | (let ((ffl (font-family-list))) |