diff options
author | Tom Willemse | 2021-12-01 18:19:06 -0800 |
---|---|---|
committer | Tom Willemse | 2021-12-01 18:19:06 -0800 |
commit | 9e9da4471af73dc93f00536e1ffe6d2c322c1187 (patch) | |
tree | e0f9c86618a7451ecfb9abac5a53dce60d1e200b | |
parent | 9b8a001b623c3baf4b01961be294f9796ac73111 (diff) | |
download | emacs-config-9e9da4471af73dc93f00536e1ffe6d2c322c1187.tar.gz emacs-config-9e9da4471af73dc93f00536e1ffe6d2c322c1187.zip |
[oni-gui] Disable ligatures on Windows
I'm trying to fix an issue with loading a C# file that freezes my Emacs on
Windows. I've turned off the other functions, but it appears that this still
happens. If I have ligatures off, it seems to work ok.
-rw-r--r-- | oni-gui.el | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2021.1201.174449 +;; Version: 2021.1201.181902 ;; Package-Requires: (oni-ui oni-hydra yoshi-theme diminish) ;; This program is free software; you can redistribute it and/or modify @@ -113,16 +113,15 @@ _bi_: Auto Insert ^^ ^^ (scroll-bar-mode -1) -(if (daemonp) - (progn - (add-hook 'after-make-frame-functions #'oni-gui-setup-ligatures) - (unless (eq system-type 'windows-nt) +(unless (eq system-type 'windows-nt) + (if (daemonp) + (progn + (add-hook 'after-make-frame-functions #'oni-gui-setup-ligatures) (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) + (add-hook 'after-make-frame-functions #'oni-gui-setup-faces)) (oni-gui-setup-fontsets nil) - (oni-gui-setup-faces nil)) - (oni-gui-setup-ligatures)) + (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) |