Variable: org-element--cache-avoid-synchronous-headline-re-parsing

org-element--cache-avoid-synchronous-headline-re-parsing is a variable defined in org-element.el.gz.

Value

nil

Documentation

This variable controls how buffer changes are handled by the cache.

By default (when this variable is nil), cache re-parses modified headlines immediately after modification preserving all the unaffected elements inside the headline.

The default behavior works best when users types inside Org buffer of when buffer modifications are mixed with cache requests. However, large automated edits inserting/deleting many headlines are somewhat slower by default (as in org-archive-subtree). Let-binding this variable to non-nil will reduce cache latency after every singular edit
(after-change-functions) at the cost of slower cache queries.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-element.el.gz
(defvar org-element--cache-avoid-synchronous-headline-re-parsing nil
  "This variable controls how buffer changes are handled by the cache.

By default (when this variable is nil), cache re-parses modified
headlines immediately after modification preserving all the unaffected
elements inside the headline.

The default behavior works best when users types inside Org buffer of
when buffer modifications are mixed with cache requests.  However,
large automated edits inserting/deleting many headlines are somewhat
slower by default (as in `org-archive-subtree').  Let-binding this
variable to non-nil will reduce cache latency after every singular edit
(`after-change-functions') at the cost of slower cache queries.")