From 93a9b7b3ce588c2dce270ece68581afaa56b201d Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Wed, 23 Sep 2020 05:52:20 -0700 Subject: [PATCH] Fix font setting --- .emacs.d/init.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 79c2a77..1c9500a 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -49,7 +49,8 @@ ;; Display (unless (eq system-type 'windows-nt) - (set-default-font "DejaVu Sans Mono-12")) + (add-to-list 'default-frame-alist + '(font . "DejaVu Sans Mono-12"))) (line-number-mode t) (global-linum-mode t) @@ -93,6 +94,9 @@ (add-hook 'js-mode-hook (lambda () (setq indent-tabs-mode nil) (setq js-indent-level 2))) +(add-hook 'html-mode-hook (lambda () + (setq indent-tabs-mode nil) + (setq html-indent-level 2))) (add-hook 'css-mode-hook (lambda () (setq indent-tabs-mode nil) (setq tab-width 2)