summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--emacs.d/lib/settings.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs.d/lib/settings.el b/emacs.d/lib/settings.el
index 1bd2c58..83fdd84 100644
--- a/emacs.d/lib/settings.el
+++ b/emacs.d/lib/settings.el
@@ -88,7 +88,9 @@
 (global-hl-line-mode 1)
 
 ;; Set default font.
-(set-face-attribute 'default nil  :font "DejaVu Sans Mono" :height 130 :weight 'normal :width 'normal)
+(if (string-equal system-type "darwin")
+    (set-face-attribute 'default nil  :font "DejaVu Sans Mono" :height 130 :weight 'normal :width 'normal)
+  (set-face-attribute 'default nil  :font "DejaVu Sans Mono" :height 120 :weight 'normal :width 'normal))
 
 ;; no bell
 (setq visible-bell nil)