summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-11-29 11:14:38 -0800
committerFranck Cuny <franck@fcuny.net>2021-11-29 11:14:38 -0800
commit6902b77210a1af5e9a011f4288974a4169472582 (patch)
tree9c0c51ca09163dee4d14e7339ad034e3407255e1
parentemacs: try to fix prompt (diff)
downloademacs.d-6902b77210a1af5e9a011f4288974a4169472582.tar.gz
emacs: font settings
Diffstat (limited to '')
-rw-r--r--emacs/custom/fcuny-ui.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/emacs/custom/fcuny-ui.el b/emacs/custom/fcuny-ui.el
index b933381..b8c5017 100644
--- a/emacs/custom/fcuny-ui.el
+++ b/emacs/custom/fcuny-ui.el
@@ -67,13 +67,11 @@
     (when (boundp 'mac-allow-anti-aliasing)
       (setq mac-allow-anti-aliasing t)))
   (when (memq window-system '(x))
-    (set-frame-font "Source Code Pro-11")
-    (set-face-attribute 'mode-line nil :font "Source Code Pro-10")
+    (set-frame-font "Source Code Pro-10")
     ;; this is a fall back in the case we have Unicode characters.
     ;; For example, with this settings, the following source is
     ;; rendered correctly 😇 😀 and 🤢
-    (set-fontset-font "fontset-default" nil
-                      (font-spec :name "Noto Color Emoji"))))
+    (set-fontset-font t 'symbol "Noto Color Emoji" nil 'append)))
 
 (require 'time)
 (setq display-time-24hr-format t)