~ruther/emacs.d

cf8bfd0b03fe2f9673abc2d10c895d18f7f877ac — Rutherther 9 months ago eea3ffa
fix: use font only for Linux
1 files changed, 8 insertions(+), 5 deletions(-)

M early-init.el
M early-init.el => early-init.el +8 -5
@@ 56,11 56,14 @@
;; Font rendering performance
(setq-default font-lock-support-mode 'jit-lock-mode)
(setq-default font-lock-multiline t)
(customize-set-variable
 'default-frame-alist
 '((font . "Hack")
   (background-color . "#282828")
   (foreground-color . "#ebdbb2")))

(when
    (memq window-system '(pgtk x))
  (customize-set-variable
  'default-frame-alist
  '((font . "Hack")
    (background-color . "#282828")
    (foreground-color . "#ebdbb2"))))

(when (fboundp 'startup-redirect-eln-cache)
  (startup-redirect-eln-cache

Do not follow this link