# HG changeset patch # User Augie Fackler # Date 1261024064 21600 # Node ID 593b5263291db216164a18c13ee7b3005e3168b7 # Parent 2f865a7f84e63c23e75fa21bfab668725dc016fb emacs: different font height on OS X diff --git a/.elisp/settings/50.preferences.el b/.elisp/settings/50.preferences.el --- a/.elisp/settings/50.preferences.el +++ b/.elisp/settings/50.preferences.el @@ -58,7 +58,11 @@ ; App and Cmd+Shift+q won't logout user. (setq mac-pass-command-to-system nil) -(set-face-attribute 'default nil :height 100) +(cond + ((eq window-system 'ns) ;; OS X + (set-face-attribute 'default nil :height 120)) + (t ;; everywhere else + (set-face-attribute 'default nil :height 100))) ;; use y or n instead of yes or no (fset 'yes-or-no-p 'y-or-n-p)