From 5827985085196e1a8d12233b23a48474aa7e27e8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 14 Dec 2020 01:11:45 -0500 Subject: [PATCH] Don't increase gc-cons-threshold in org-mode This was likely unnecessary and may be the cause of recent reports of slowness/freezing over time. --- modules/lang/org/config.el | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index 7adb082f9..fec979344 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -541,12 +541,6 @@ the exported output (i.e. formatters)." :before-while #'org-fix-tags-on-the-fly org-auto-align-tags) - ;; HACK Org is known to use a lot of unicode symbols (and large org files tend - ;; to be especially memory hungry). Compounded with - ;; `inhibit-compacting-font-caches' being non-nil, org needs more memory - ;; to be performant. - (setq-hook! 'org-mode-hook gcmh-high-cons-threshold (* 2 gcmh-high-cons-threshold)) - (defadvice! +org--recenter-after-follow-link-a (&rest _args) "Recenter after following a link, but only internal or file links." :after '(org-footnote-action