From e3187ca8ea7ed67f88a56067c715df93b1c1e60a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 20 Jan 2020 18:12:50 -0500 Subject: [PATCH] Don't fontify latex natively (use simple highlights) Native fontification is incredibly slow. --- modules/lang/org/config.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index a59cf789b..416c2d462 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -122,8 +122,8 @@ path too.") org-refile-use-outline-path 'file org-outline-path-complete-in-steps nil) - ;; Fontify latex blocks and entities natively - (setq org-highlight-latex-and-related '(native script entities)) + ;; Fontify latex blocks and entities, but not natively -- that's too slow + (setq org-highlight-latex-and-related '(latex script entities)) (plist-put! org-format-latex-options :scale 1.5 ; larger previews :foreground 'auto ; match the theme foreground