From dd078ae0c57ff1ba84060568864ed23ec420672e Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 13 Jun 2016 11:04:37 +0200 Subject: Emacs: Use `window-system` for all font checks --- tag-emacs/emacs.d/init.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index af891617..f084cc22 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -175,7 +175,7 @@ because I manage those in my [[file:~/projects/dotfiles/tag-xresources/xresource (cond ((eq window-system 'w32) (ap/set-fonts "Consolas" 10 "Segoe UI" 11)) - ((eq system-type 'darwin) + ((eq window-system 'ns) (let ((displays (string-to-number (shell-command-to-string "system_profiler SPDisplaysDataType | grep \"Online: Yes\" | wc -l")))) (if (eq displays 1) (ap/set-fonts "PT Mono" 12 "Lucide Grande" 12 t) -- cgit 1.4.1