changeset 172:593b5263291d

emacs: different font height on OS X
author Augie Fackler <durin42@gmail.com>
date Wed, 16 Dec 2009 22:27:44 -0600
parents 2f865a7f84e6
children fd92c15701ae
files .elisp/settings/50.preferences.el
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)