refactor(wpcarro/emacs): Simplify fonts.el

- Drop `cycle` and all associated methods
- Fix call-sites depedencies

Change-Id: I35304424c0c3925f5bf7771dec33e75d326d0961
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7315
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
This commit is contained in:
William Carroll 2022-11-20 18:46:15 -08:00 committed by wpcarro
parent 878dc6c227
commit c537cc6fce
2 changed files with 13 additions and 15 deletions

View file

@ -166,9 +166,7 @@
(when window-system
;; On OSX, JetBrainsMono is installed as "JetBrains Mono", and I'm
;; not sure how to change that.
(let ((font (if (memq window-system '(ns))
"JetBrains Mono"
"JetBrainsMono")))
(let ((font (if (memq window-system '(ns)) "JetBrains Mono" "JetBrainsMono")))
(fonts-set font)
;; Some themes (e.g. doom-acario-*) change the font for comments. This
;; should prevent that.