about summary refs log tree commit diff
path: root/init-settings.el
diff options
context:
space:
mode:
authorVincent Ambo <vincent@spotify.com>2014-02-03T14·55+0100
committerVincent Ambo <vincent@spotify.com>2014-02-03T14·55+0100
commit05d10fae2ad2142555b5dbacf5fc7786ea485dec (patch)
tree8b616bae1b5bcbb20a40b59b16609fd064b76ea0 /init-settings.el
parent40dfc754d90a9a9876aef5ff5b0a63f4860f03e1 (diff)
Emacs as a daemon needs font set differently
Diffstat (limited to 'init-settings.el')
-rw-r--r--init-settings.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/init-settings.el b/init-settings.el
index 36c3709f2421..0b0233554728 100644
--- a/init-settings.el
+++ b/init-settings.el
@@ -111,8 +111,10 @@
 
 (global-hl-line-mode -1)
 
-(set-face-attribute 'default nil :font "Source Code Pro 12")
-(set-default-font "Source Code Pro 13")
+(setq default-frame-alist '((font-backend . "xft")
+                            (font . "Source Code Pro-12")))
+
+(set-default-font "Source Code Pro 12")
 
 (add-to-list 'after-make-frame-functions 'set-font)