[Emacs] Fix font settings in imalison:appearance

This commit is contained in:
Ivan Malison 2016-10-25 18:04:46 -07:00
parent 0133cc3862
commit a72384c449
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -4393,9 +4393,9 @@ load-theme hook (See the heading below).
(interactive (list nil))
(if (display-graphic-p)
(progn
(condition-case _ignored
(set-face-attribute 'default nil :font "Source Code Pro")
('error nil))
(condition-case error
(set-face-attribute 'default nil :font "source code pro")
('error (message "Error: %s, when setting font")))
(set-face-attribute 'default nil :weight 'semi-bold)
(set-face-attribute
'default nil :height imalison:default-font-size-pt))