org-element: Fix commit 73d60606bd
* lisp/org-element.el (org-element--cache-sync): Fix commit
73d60606bd
.
This commit is contained in:
parent
38a2bd3783
commit
4466af5c11
|
@ -5048,7 +5048,8 @@ removed from the cache."
|
|||
(let ((parent (org-element-property :parent element)))
|
||||
(when (and parent (eq (org-element-type parent) 'item))
|
||||
(setq parent (org-element-property :parent parent)))
|
||||
(when (and parent
|
||||
(when (and (memq (org-element-type parent)
|
||||
'(footnote-definition plain-list))
|
||||
(>= (org-element-property :end parent) beg)
|
||||
(= (org-element-property :contents-end parent)
|
||||
(org-element-property :end element)))
|
||||
|
|
Loading…
Reference in New Issue