org-element: Do not consider property drawers as robusts
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 2 Sep 2014 19:18:40 +0000 (21:18 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 2 Sep 2014 19:18:40 +0000 (21:18 +0200)
* 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.

lisp/org-element.el

index 2eca350..4b3df91 100644 (file)
@@ -5442,8 +5442,7 @@ changes."
        (while up
          (if (and (memq (org-element-type up)
                         '(center-block drawer dynamic-block
-                                       property-drawer quote-block
-                                       special-block))
+                                       quote-block special-block))
                   (<= (org-element-property :contents-begin up) beg)
                   (> (org-element-property :contents-end up) end))
              ;; UP is a robust greater element containing changes.