summaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/.emacs.d/init.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/dotfiles/.emacs.d/init.el b/dotfiles/.emacs.d/init.el
index 60bc40f..a04f959 100644
--- a/dotfiles/.emacs.d/init.el
+++ b/dotfiles/.emacs.d/init.el
@@ -74,11 +74,8 @@
"Return 't' if FONT exists."
(not (null (x-list-fonts font))))
-;; The font cannot be set until a frame has been created.
-(add-to-list 'after-make-frame-functions
- (lambda (frame)
- (when (font-exists-p "Inconsolata")
- (set-default-font "Inconsolata-12"))))
+(when (font-exists-p "Inconsolata")
+ (set-frame-font "Inconsolata-12" nil t))
(load-theme 'wombat t)
(column-number-mode t)