summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2020-01-13 15:22:06 +0100
committerfpi2020-01-29 17:54:03 +0100
commit4d6e94faf1b25a9c96864e179c6082b0bc4b34e7 (patch)
tree98ca389425dd803a49cf06a9aff0c021e80a6e5e
parentSetup org-crypt usage & whitespace cleanup (diff)
Fix the default font for my themes
Diffstat (limited to '')
-rw-r--r--emacs-init.org8
1 files 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