Commit 2f67ae366ec1

Vincent Demeester <vincent@sbr.pm>
2020-04-07 18:49:42
config-appearance.el: fix mu-reset-fonts
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 5cb6767
Changed files (1)
tools
tools/emacs/config/config-appearance.el
@@ -33,15 +33,15 @@
   (defun mu-reset-fonts ()
     "Reset fonts to my preferences."
     (interactive)
-    (when when (member "Ubuntu Mono" (font-family-list))
-          (set-face-attribute 'default nil
-                              :family "Ubuntu Mono"
-                              :height font-height))
-    (when when (member "Ubuntu Sans" (font-family-list))
-          (set-face-attribute 'variable-pitch nil
-                              :family "Ubuntu Sans"
-                              :height font-height
-                              :weight 'regular))))
+    (when (member "Ubuntu Mono" (font-family-list))
+      (set-face-attribute 'default nil
+                          :family "Ubuntu Mono"
+                          :height font-height))
+    (when (member "Ubuntu Sans" (font-family-list))
+      (set-face-attribute 'variable-pitch nil
+                          :family "Ubuntu Sans"
+                          :height font-height
+                          :weight 'regular))))
 ;; -TypeFaceConfiguration
 
 (use-package emacs