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.
This commit is contained in:
parent
d69d245778
commit
5827985085
1 changed files with 0 additions and 6 deletions
|
@ -541,12 +541,6 @@ the exported output (i.e. formatters)."
|
||||||
:before-while #'org-fix-tags-on-the-fly
|
:before-while #'org-fix-tags-on-the-fly
|
||||||
org-auto-align-tags)
|
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)
|
(defadvice! +org--recenter-after-follow-link-a (&rest _args)
|
||||||
"Recenter after following a link, but only internal or file links."
|
"Recenter after following a link, but only internal or file links."
|
||||||
:after '(org-footnote-action
|
:after '(org-footnote-action
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue