Emacs: fix for font not loaded in emacsclient

This commit is contained in:
Marcel Kapfer 2018-02-23 09:34:57 +01:00
parent ce97fb3bf5
commit 97aac1eb40
Signed by: mmk2410
GPG Key ID: CADE6F0C09F21B09
1 changed files with 5 additions and 0 deletions

View File

@ -161,6 +161,11 @@
;; set font
(set-frame-font "Fira Code 8" nil t)
;; set the default font after the frame is created.
;; needed because of some issue with emacsclient.
(add-hook 'after-make-frame-functions
(lambda (frame) (set-frame-font "Fira Code 8" nil t)))
;; -----------------------------------------------------------------------------
;; Custom keybindings