diff options
author | Alan Pearce | 2017-05-21 11:07:50 +0200 |
---|---|---|
committer | Alan Pearce | 2017-05-21 11:07:50 +0200 |
commit | 5216f41ddf542f3cebb530730b56bfb4acb9e7a8 (patch) | |
tree | ec16bb872285169dfa9e21ac60244440353092fb | |
parent | 3dd9fad897305f1ed6edc2a880ffad2c888ae9d9 (diff) | |
download | nixfiles-5216f41ddf542f3cebb530730b56bfb4acb9e7a8.tar.lz nixfiles-5216f41ddf542f3cebb530730b56bfb4acb9e7a8.tar.zst nixfiles-5216f41ddf542f3cebb530730b56bfb4acb9e7a8.zip |
Emacs: Don't set Linux fonts on Windows/WSL/X11
-rw-r--r-- | emacs/.emacs.d/init.org | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 628c90ec..78c51e58 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -220,7 +220,8 @@ because I manage those in my [[file:~/projects/dotfiles/tag-xresources/xresource (if (eq displays 1) (ap/set-fonts "Lekton" 20 "Lucida Grande" 16 t) (ap/set-fonts "Monaco" 14 "Lucida Grande" 14 nil 0.1)))) - ((eq window-system 'x) + ((and (eq window-system 'x) + (not (getenv "windows"))) (set-fontset-font "fontset-default" 'unicode (font-spec :name "Terminus" :size 14)) (ap/set-fonts "Fixed" 14 "Lucida" 14 nil)))) |