org-element: Do not consider property drawers as robusts
* lisp/org-element.el (org-element--cache-for-removal): Do not consider property drawers as robusts: if contents are modified, remove the whole drawer from cache.
This commit is contained in:
parent
d4e4b1ea68
commit
38d0eb64b0
|
@ -5442,8 +5442,7 @@ changes."
|
||||||
(while up
|
(while up
|
||||||
(if (and (memq (org-element-type up)
|
(if (and (memq (org-element-type up)
|
||||||
'(center-block drawer dynamic-block
|
'(center-block drawer dynamic-block
|
||||||
property-drawer quote-block
|
quote-block special-block))
|
||||||
special-block))
|
|
||||||
(<= (org-element-property :contents-begin up) beg)
|
(<= (org-element-property :contents-begin up) beg)
|
||||||
(> (org-element-property :contents-end up) end))
|
(> (org-element-property :contents-end up) end))
|
||||||
;; UP is a robust greater element containing changes.
|
;; UP is a robust greater element containing changes.
|
||||||
|
|
Loading…
Reference in New Issue