summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2018-07-08 14:33:26 +0000
committerFranck Cuny <franck.cuny@gmail.com>2018-07-08 14:33:26 +0000
commit733561aa35f7472a153451a092ded1b3bd27c230 (patch)
treee512e374aef7d8707a09c796be9ace6f6bb83bde
parent[emacs] Reduce number of configuration files. (diff)
downloademacs.d-733561aa35f7472a153451a092ded1b3bd27c230.tar.gz
[emacs] Set font per operating system.
-rw-r--r--emacs.d/config/fcuny-darwin.el3
-rw-r--r--emacs.d/config/fcuny-linux.el3
2 files changed, 6 insertions, 0 deletions
diff --git a/emacs.d/config/fcuny-darwin.el b/emacs.d/config/fcuny-darwin.el
index c23ff44..45ea051 100644
--- a/emacs.d/config/fcuny-darwin.el
+++ b/emacs.d/config/fcuny-darwin.el
@@ -1,6 +1,9 @@
 (eval-when-compile
   (require 'use-package))
 
+;; Set default font.
+(set-face-attribute 'default nil :height 130 :weight 'normal :width 'normal)
+
 (use-package exec-path-from-shell
   :ensure t
   :config
diff --git a/emacs.d/config/fcuny-linux.el b/emacs.d/config/fcuny-linux.el
index dc1f992..f0d7c52 100644
--- a/emacs.d/config/fcuny-linux.el
+++ b/emacs.d/config/fcuny-linux.el
@@ -1,3 +1,6 @@
+;; Set default font.
+(set-face-attribute 'default nil :height 130 :weight 'normal :width 'normal)
+
 (setenv "PATH" (concat fcuny-path-go-bin path-separator (getenv "PATH")))
 
 (add-to-list 'exec-path fcuny-path-go-bin)