summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2016-06-13 11:04:37 +0200
committerAlan Pearce2016-06-13 11:04:37 +0200
commitdd078ae0c57ff1ba84060568864ed23ec420672e (patch)
tree31ef31244f0012db3f6b99ecebbd35b37083887b /tag-emacs
parentc48b283fcc5fbbc083de41b8f15728b93a68f9af (diff)
downloadnixfiles-dd078ae0c57ff1ba84060568864ed23ec420672e.tar.lz
nixfiles-dd078ae0c57ff1ba84060568864ed23ec420672e.tar.zst
nixfiles-dd078ae0c57ff1ba84060568864ed23ec420672e.zip
Emacs: Use `window-system` for all font checks
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org2
1 files changed, 1 insertions, 1 deletions
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)