Commit 3fb5e4d1cf16

Vincent Demeester <vincent@sbr.pm>
2020-05-03 14:56:36
config-appearance.el: configure fixed-pitch face too
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 1efb8a3
Changed files (2)
tools/emacs/config/config-appearance.el
@@ -15,6 +15,9 @@
     (interactive)
     (when (member "Ubuntu Mono" (font-family-list))
       (set-face-attribute 'default nil
+                          :family "Ubuntu Mono"
+                          :height font-height)
+      (set-face-attribute 'fixed-pitch nil
                           :family "Ubuntu Mono"
                           :height font-height))
     (when (member "Ubuntu Sans" (font-family-list))
tools/emacs/early-init.el
@@ -40,6 +40,9 @@
 ;; If Ubuntu Mono or Ubuntu Sans are not available, use the default Emacs face
 (when (member "Ubuntu Mono" (font-family-list))
   (set-face-attribute 'default nil
+                      :family "Ubuntu Mono"
+                      :height font-height)
+  (set-face-attribute 'fixed-pitch nil
                       :family "Ubuntu Mono"
                       :height font-height))
 (when (member "Ubuntu Sans" (font-family-list))