From 00dde9abd3d139d81d8cb1d902554d2b9a85ae76 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 7 Sep 2016 14:10:21 -0700 Subject: [PATCH] Set font size differently when not in OSX --- dotfiles/emacs.d/README.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 48be80a9..a988e11b 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -3893,7 +3893,8 @@ Set the character used to represent spaces to ·, and the character used for tab (set-face-attribute 'default nil :font "Source Code Pro") ('error nil)) (set-face-attribute 'default nil :weight 'semi-bold) - (set-face-attribute 'default nil :height 135)) + (set-face-attribute + 'default nil :height (if (equal system-type 'darwin) 135 110))) (progn (load-theme 'source-code-pro t) (message "not setting font"))) @@ -3904,5 +3905,6 @@ Set the character used to represent spaces to ·, and the character used for tab ;; (when (display-graphic-p) (imalison:appearance)) (add-hook 'after-init-hook 'imalison:appearance) (add-hook 'after-make-frame-functions 'imalison:appearance) +;; TODO/XXX: why do we immediately remove this hook? (remove-hook 'after-make-frame-functions 'imalison:appearance) #+END_SRC