From 4d6e94faf1b25a9c96864e179c6082b0bc4b34e7 Mon Sep 17 00:00:00 2001 From: fpi Date: Mon, 13 Jan 2020 15:22:06 +0100 Subject: Fix the default font for my themes --- emacs-init.org | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/emacs-init.org b/emacs-init.org index 068b36d..4eb520d 100644 --- a/emacs-init.org +++ b/emacs-init.org @@ -211,7 +211,8 @@ availability. When starting with =emacs --daemon= it does not work as ) #+end_src -Instead of the above code I set the font directly using =set-face-attribute=. +Instead of the above code I set the font directly using +=set-face-attribute=. This is overwritten by my theme settings. #+begin_src emacs-lisp (set-face-attribute 'default nil :font "Hack-11") #+end_src @@ -299,8 +300,9 @@ The above macro can be used like this. ;; (set-face-attribute 'variable-pitch nil :font "EtBookOt-11") ;; Settings ((default - () - (:foreground ,bg-dark)) + (:family ,sans-mono-font) + (:family ,sans-mono-font + :foreground ,bg-dark)) (variable-pitch (:family ,sans-font) (:family ,et-font -- cgit v1.2.3