summary refs log tree commit diff stats
path: root/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 6844502a..12a5f53d 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -147,7 +147,10 @@ Values: `desktop', `server', `laptop'")
            (variable-face "Helvetica Neue")
            (default-font (concat mono-face "-" (number-to-string font-size))))
         (when mono-face
-          (add-to-list 'default-frame-alist `(font . ,default-font)))))))
+          (add-to-list 'default-frame-alist `(font . ,default-font)))
+        (when variable-face
+          (set-face-font 'variable-pitch (concat variable-face "-"
+                                                 (number-to-string (1+ font-size)))))))))
 
 (with-elapsed-timer "Setting up font styles"
   (let* ((font-height (face-attribute 'default :height))