Emacs: fix for font not loaded in emacsclient
This commit is contained in:
parent
ce97fb3bf5
commit
97aac1eb40
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue