comparison .elisp/settings/50.preferences.el @ 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 668268f29a88
children fd92c15701ae
comparison
equal deleted inserted replaced
171:2f865a7f84e6 172:593b5263291d
56 (setq hg-incoming-repository "") 56 (setq hg-incoming-repository "")
57 ; so that Cmd+H won't activate Hide Current 57 ; so that Cmd+H won't activate Hide Current
58 ; App and Cmd+Shift+q won't logout user. 58 ; App and Cmd+Shift+q won't logout user.
59 (setq mac-pass-command-to-system nil) 59 (setq mac-pass-command-to-system nil)
60 60
61 (set-face-attribute 'default nil :height 100) 61 (cond
62 ((eq window-system 'ns) ;; OS X
63 (set-face-attribute 'default nil :height 120))
64 (t ;; everywhere else
65 (set-face-attribute 'default nil :height 100)))
62 66
63 ;; use y or n instead of yes or no 67 ;; use y or n instead of yes or no
64 (fset 'yes-or-no-p 'y-or-n-p) 68 (fset 'yes-or-no-p 'y-or-n-p)