[Emacs] Avoid issues when I’m testing my config on other OSes

This commit is contained in:
Lucien Cartier-Tilet 2021-05-24 01:16:48 +02:00
parent bdfdb7159f
commit 31845a0d69
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 2 additions and 1 deletions

View File

@ -214,7 +214,8 @@ I dont like the default font I usually have on my machines, I really dont.
#+end_src
#+begin_src emacs-lisp
(set-face-attribute 'default nil :font "Cascadia Code" :height phundrak/default-font-size)
(when (equal system-type 'gnu/linux)
(set-face-attribute 'default nil :font "Cascadia Code" :height phundrak/default-font-size))
#+end_src
** Nice macros from Doom-Emacs