1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-26 07:33:39 +00:00

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:
Nicolas Goaziou 2014-09-02 21:18:40 +02:00
parent d4e4b1ea68
commit 38d0eb64b0

View File

@ -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.