From 0175f3fe82aeba6d0ce3cf6b8d07eb6ffe0edbb7 Mon Sep 17 00:00:00 2001 From: Lars Tveito Date: Sun, 20 Sep 2015 16:26:55 +0200 Subject: [PATCH] Use Source Code Pro if available --- init.org | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init.org b/init.org index 3f4c636..6922cb1 100644 --- a/init.org +++ b/init.org @@ -392,8 +392,10 @@ Use the [[http://www.levien.com/type/myfonts/inconsolata.html][Inconsolata]] font if it's installed on the system. #+BEGIN_SRC emacs-lisp - (when (member "Inconsolata" (font-family-list)) - (set-face-attribute 'default nil :font "Inconsolata-14")) + (cond ((member "Source Code Pro" (font-family-list)) + (set-face-attribute 'default nil :font "Source Code Pro-13")) + ((member "Inconsolata" (font-family-list)) + (set-face-attribute 'default nil :font "Inconsolata-14"))) #+END_SRC [[http://www.eskimo.com/~seldon/diminish.el][diminish.el]] allows you to hide or abbreviate their presence in the