From c85c5e10592458cf60647405cb24a578d05e1497 Mon Sep 17 00:00:00 2001 From: Leni Ven Date: Tue, 24 Jan 2023 20:09:08 -0800 Subject: [PATCH] Try use pre-redisplay func to fix font issue --- home/spacemacs/layers.el | 2 +- home/spacemacs/user-init.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/home/spacemacs/layers.el b/home/spacemacs/layers.el index 9e1fa5e..bfb45a3 100644 --- a/home/spacemacs/layers.el +++ b/home/spacemacs/layers.el @@ -85,7 +85,7 @@ latex-enable-folding t latex-enable-magic nil magic-latex-enable-block-highlight t - magic-latex-enable-block-align t + magic-latex-enable-block-align nil ;; Massively slows down emacs due to fonts magic-latex-enable-pretty-symbols nil magic-latex-enable-suscript t diff --git a/home/spacemacs/user-init.el b/home/spacemacs/user-init.el index 02ec0b3..a536016 100644 --- a/home/spacemacs/user-init.el +++ b/home/spacemacs/user-init.el @@ -48,7 +48,7 @@ )) ;; This exists to ensure the theming modifications are applied. 'after-init-hook ;; does not work well here. -(add-hook 'emacs-startup-hook +(add-hook 'pre-redisplay-function (lambda () (spacemacs/update-theme))) ;; Language Support