From 1ad03e77b188fe379a84416be774c02413442948 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Mon, 22 Apr 2024 22:20:49 +0300 Subject: [PATCH] org-fold: Fix regression after b03ece433 * lisp/org-fold-core.el (org-fold-core-add-folding-spec): Add new folding spec property :font-lock. Reported-by: StrawberryTea Link: https://orgmode.org/list/87frvdtemx.fsf@strawberrytea.xyz --- lisp/org-fold-core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-fold-core.el b/lisp/org-fold-core.el index f80083dd4..41b16851f 100644 --- a/lisp/org-fold-core.el +++ b/lisp/org-fold-core.el @@ -705,7 +705,7 @@ The folding spec properties will be set to PROPERTIES (see (let* ((full-properties (mapcar (lambda (prop) (cons prop (cdr (assq prop properties)))) '( :visible :ellipsis :isearch-ignore :global :isearch-open :front-sticky - :rear-sticky :fragile :alias))) + :rear-sticky :fragile :alias :font-lock))) (full-spec (cons spec full-properties))) (add-to-list 'org-fold-core--specs full-spec append) (mapc (lambda (prop-cons) (org-fold-core-set-folding-spec-property spec (car prop-cons) (cdr prop-cons) 'force)) full-properties)