summary refs log tree commit diff stats
path: root/early-init.el
diff options
context:
space:
mode:
authorCase Duckworth2021-04-30 17:36:25 -0500
committerCase Duckworth2021-04-30 17:36:25 -0500
commit74aa9c9e3a7ebc7e142107347b150d1e0adc8065 (patch)
tree9eb2a8fbb6e434041e2c44d4af79d97c891900ce /early-init.el
parentMove emoji font configuration to the initial frame setup function (diff)
downloademacs-74aa9c9e3a7ebc7e142107347b150d1e0adc8065.tar.gz
emacs-74aa9c9e3a7ebc7e142107347b150d1e0adc8065.zip
Customize fringes
Still to think about: changing the `fringe' face.  Do I want it another color?
Do I even need any buffer boundaries?  Hm....
Diffstat (limited to 'early-init.el')
-rw-r--r--early-init.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/early-init.el b/early-init.el index e9d7de0..25bc58c 100644 --- a/early-init.el +++ b/early-init.el
@@ -73,7 +73,8 @@
73 (funcall (car mode) -1))))) 73 (funcall (car mode) -1)))))
74 74
75(add-function :after after-focus-change-function 75(add-function :after after-focus-change-function
76 (defun hook--setup-fonts () 76 (defun acdw/first-frame-setup ()
77 ;; fonts
77 (require 'acdw-fonts) 78 (require 'acdw-fonts)
78 (setq acdw-fonts/monospace (pcase acdw/system 79 (setq acdw-fonts/monospace (pcase acdw/system
79 (:home "DejaVu Sans Mono") 80 (:home "DejaVu Sans Mono")
@@ -90,6 +91,9 @@
90 "Noto Color Emoji" 91 "Noto Color Emoji"
91 "Apple Color Emoji" 92 "Apple Color Emoji"
92 "Symbola") 93 "Symbola")
94 ;; fringes
95 (acdw/setup-fringes)
96 ;; only run this once
93 (remove-function after-focus-change-function 97 (remove-function after-focus-change-function
94 'hook--setup-fonts))) 98 'hook--setup-fonts)))
95 99