org-element: Every keyword starting with ATTR_ is an affiliated keyword
commit475fac147b84e0dbb99e1e6845ae1d8f74826a4b
authorNicolas Goaziou <n.goaziou@gmail.com>
Sat, 30 Jun 2012 11:49:01 +0000 (30 13:49 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sat, 30 Jun 2012 11:49:46 +0000 (30 13:49 +0200)
tree42b67146a44563c34d15c8f2b5aeaeb644435c35
parentab82a9dcfeab4b997cd684a368885e6ddbd10e8e
org-element: Every keyword starting with ATTR_ is an affiliated keyword

* contrib/lisp/org-element.el (org-element-affiliated-keywords):
  Remove attributes keywords from the list since they are, de facto,
  affiliated keywords.
(org-element-multiple-keywords): Remove "attr" keywords from the list
since they always belong to that list.
(org-element--affiliated-re, org-element-collect-affiliated-keywords,
org-element-interpret--affiliated-keywords): Handle special attr
keywords correctly.
contrib/lisp/org-element.el