diff options
-rw-r--r-- | emacs/init.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el index 6844502..12a5f53 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)) |