From ed54b1ccab322fc7504c26a5e0659ddf8d0bde32 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 10 Dec 2020 00:41:39 -0600 Subject: Change hooks for fonts --- config.org | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config.org b/config.org index 1deb6cf..8f101d0 100644 --- a/config.org +++ b/config.org @@ -337,17 +337,17 @@ Let’s configure Emacs using Org mode, they said. It’ll be fun, they said. "Linux Libertine Mono O-11" "Go Mono-10" "Consolas-10")) - + (set-face-attribute 'variable-pitch nil :font (font-candidate "Libertinus Serif-13" "Linux Libertine O-12" "Georgia-11")) - - (remove-hook 'window-setup-hook #'acdw/setup-fonts))) - (add-hook 'window-setup-hook #'acdw/setup-fonts) + (remove-function after-focus-change-function #'acdw/setup-fonts))) + + (add-function :before after-focus-change-function #'acdw/setup-fonts) #+end_src **** Variable-pitch in text modes -- cgit 1.4.1-21-gabe81