Variable: org-fold-core-style

org-fold-core-style is a customizable variable defined in org-fold-core.el.gz.

Value

overlays

Documentation

Internal implementation detail used to hide folded text.

Can be either text-properties or overlays. The former is faster on large files in Emacs <29, while the latter is generally less error-prone with regard to third-party packages.

Important: This variable must be set before loading Org.

This variable was added, or its default value changed, in Org version
9.7.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-fold-core.el.gz
;;; Customization

(defcustom org-fold-core-style (if (version< emacs-version "29")
                                   'text-properties
                                 'overlays)
  "Internal implementation detail used to hide folded text.
Can be either `text-properties' or `overlays'.
The former is faster on large files in Emacs <29, while the latter is
generally less error-prone with regard to third-party packages.

Important: This variable must be set before loading Org."
  :group 'org
  :package-version '(Org . "9.7")
  :type '(choice
          (const :tag "Overlays" overlays)
          (const :tag "Text properties" text-properties)))