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 <look@strawberrytea.xyz> Link: https://orgmode.org/list/87frvdtemx.fsf@strawberrytea.xyz
This commit is contained in:
parent
52bde22b9d
commit
1ad03e77b1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue