[oni-gui] Don't use variable pitch or any fancy characters on WinNT
This commit is contained in:
parent
ccc0db6745
commit
9b8a001b62
1 changed files with 8 additions and 6 deletions
10
oni-gui.el
10
oni-gui.el
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 2021.1123.003312
|
;; Version: 2021.1201.174449
|
||||||
;; Package-Requires: (oni-ui oni-hydra yoshi-theme diminish)
|
;; Package-Requires: (oni-ui oni-hydra yoshi-theme diminish)
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -115,12 +115,14 @@ _bi_: Auto Insert ^^ ^^
|
||||||
|
|
||||||
(if (daemonp)
|
(if (daemonp)
|
||||||
(progn
|
(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-ligatures)
|
||||||
(add-hook 'after-make-frame-functions #'oni-gui-setup-faces))
|
(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-fontsets nil)
|
||||||
(oni-gui-setup-ligatures)
|
|
||||||
(oni-gui-setup-faces nil))
|
(oni-gui-setup-faces nil))
|
||||||
|
(oni-gui-setup-ligatures))
|
||||||
|
|
||||||
(global-unset-key (kbd "C-z"))
|
(global-unset-key (kbd "C-z"))
|
||||||
(global-set-key (kbd "C-c c") 'oni-gui-hydra/body)
|
(global-set-key (kbd "C-c c") 'oni-gui-hydra/body)
|
||||||
|
|
Loading…
Reference in a new issue