Merge branch 'bugfix'

This commit is contained in:
Ihor Radchenko 2023-08-15 12:59:18 +03:00
commit 572d01ab7e
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 1 deletions

View File

@ -8049,7 +8049,7 @@ This function may modify the match data."
(setq cached-only nil))
(let (element)
(when (org-element--cache-active-p)
(if (not org-element--cache) (org-element-cache-reset)
(if (not (org-with-base-buffer nil org-element--cache)) (org-element-cache-reset)
(unless cached-only (org-element--cache-sync (current-buffer) epom))))
(setq element (if cached-only
(when (and (org-element--cache-active-p)