summary refs log tree commit diff stats
path: root/early-init.el
diff options
context:
space:
mode:
Diffstat (limited to 'early-init.el')
-rw-r--r--early-init.el18
1 files changed, 9 insertions, 9 deletions
diff --git a/early-init.el b/early-init.el index 068770c..40edbe5 100644 --- a/early-init.el +++ b/early-init.el
@@ -55,10 +55,10 @@ See `no-littering' for examples.")
55 "My Syncthing directory.") 55 "My Syncthing directory.")
56 56
57;; Load system-specific changes. 57;; Load system-specific changes.
58(progn (require 'system) 58;; (progn (require 'system)
59 (setq system-default-font "DejaVu Sans Mono" 59;; (setq system-default-font "DejaVu Sans Mono"
60 system-variable-pitch-font "DejaVu Sans") 60;; system-variable-pitch-font "DejaVu Sans")
61 (system-settings-load)) 61;; (system-settings-load))
62 62
63;;; Default frame settings 63;;; Default frame settings
64 64
@@ -78,11 +78,11 @@ See `no-littering' for examples.")
78(+with-ensure-after-init 78(+with-ensure-after-init
79 ;; Set default faces 79 ;; Set default faces
80 (+with-message "Setting default faces" 80 (+with-message "Setting default faces"
81 (let ((font-name system-default-font) 81 (let ((font-name machine-default-font)
82 (font-size system-default-height) 82 (font-size machine-default-height)
83 (variable-font-name system-variable-pitch-font) 83 (variable-font-name machine-variable-pitch-font)
84 (variable-font-size system-variable-pitch-height)) 84 (variable-font-size machine-variable-pitch-height))
85 (set-face-attribute 'default nil :family system-default-font 85 (set-face-attribute 'default nil :family font-name
86 :height font-size :weight 'book) 86 :height font-size :weight 'book)
87 (set-face-attribute 'italic nil :family font-name 87 (set-face-attribute 'italic nil :family font-name
88 :height font-size :slant 'italic) 88 :height font-size :slant 'italic)