[Emacs] Set default font size if it isn't set

This commit is contained in:
Ivan Malison 2017-01-26 16:59:08 -08:00
parent 6ffac9fc58
commit 392f3e865f
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -746,6 +746,8 @@ This was taken from [[http://emacs.stackexchange.com/questions/7583/transiently-
(cl-defun imalison:modify-font-size (&optional (arg 10)) (cl-defun imalison:modify-font-size (&optional (arg 10))
(interactive "p") (interactive "p")
(unless imalison:default-font-size-pt
(imalison:set-default-font-size))
(imalison:set-font-size (+ (imalison:current-font-size) arg))) (imalison:set-font-size (+ (imalison:current-font-size) arg)))
(defun imalison:font-size-incr () (defun imalison:font-size-incr ()