diff options
author | 2021-12-01 17:46:16 -0800 | |
---|---|---|
committer | 2021-12-01 17:46:16 -0800 | |
commit | 9b8a001b623c3baf4b01961be294f9796ac73111 (patch) | |
tree | 7172c44ff7a02a82bf12f59441733a4f106159c6 /oni-gui.el | |
parent | ccc0db6745bb57b64e91366ce318baa66cd51c98 (diff) | |
download | emacs-config-9b8a001b623c3baf4b01961be294f9796ac73111.tar.gz emacs-config-9b8a001b623c3baf4b01961be294f9796ac73111.zip |
[oni-gui] Don't use variable pitch or any fancy characters on WinNT
Diffstat (limited to 'oni-gui.el')
-rw-r--r-- | oni-gui.el | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2021.1123.003312 +;; Version: 2021.1201.174449 ;; Package-Requires: (oni-ui oni-hydra yoshi-theme diminish) ;; This program is free software; you can redistribute it and/or modify @@ -115,12 +115,14 @@ _bi_: Auto Insert ^^ ^^ (if (daemonp) (progn - (add-hook 'after-make-frame-functions #'oni-gui-setup-fontsets) (add-hook 'after-make-frame-functions #'oni-gui-setup-ligatures) - (add-hook 'after-make-frame-functions #'oni-gui-setup-faces)) - (oni-gui-setup-fontsets nil) - (oni-gui-setup-ligatures) - (oni-gui-setup-faces nil)) + (unless (eq system-type 'windows-nt) + (add-hook 'after-make-frame-functions #'oni-gui-setup-fontsets) + (add-hook 'after-make-frame-functions #'oni-gui-setup-faces))) + (unless (eq system-type 'windows-nt) + (oni-gui-setup-fontsets nil) + (oni-gui-setup-faces nil)) + (oni-gui-setup-ligatures)) (global-unset-key (kbd "C-z")) (global-set-key (kbd "C-c c") 'oni-gui-hydra/body) |