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

View file

@ -161,6 +161,11 @@
;; set font ;; set font
(set-frame-font "Fira Code 8" nil t) (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 ;; Custom keybindings