Browse Source

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.
Nicolas Goaziou 10 years ago
parent
commit
38d0eb64b0
1 changed files with 1 additions and 2 deletions
  1. 1 2
      lisp/org-element.el

+ 1 - 2
lisp/org-element.el

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