Set font size differently when not in OSX
This commit is contained in:
parent
ece9e88d5e
commit
00dde9abd3
@ -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")
|
(set-face-attribute 'default nil :font "Source Code Pro")
|
||||||
('error nil))
|
('error nil))
|
||||||
(set-face-attribute 'default nil :weight 'semi-bold)
|
(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
|
(progn
|
||||||
(load-theme 'source-code-pro t)
|
(load-theme 'source-code-pro t)
|
||||||
(message "not setting font")))
|
(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))
|
;; (when (display-graphic-p) (imalison:appearance))
|
||||||
(add-hook 'after-init-hook 'imalison:appearance)
|
(add-hook 'after-init-hook 'imalison:appearance)
|
||||||
(add-hook 'after-make-frame-functions '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)
|
(remove-hook 'after-make-frame-functions 'imalison:appearance)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
Loading…
Reference in New Issue
Block a user