org-element: Remove `org-element-document-properties'
commitfa70778a2058672d9b71df795bca3613922300f5
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 5 Apr 2015 08:29:16 +0000 (5 10:29 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 5 Apr 2015 11:48:28 +0000 (5 13:48 +0200)
treed564f046ccec0372bfad12fecbcba4194fc51fcc
parentfa64b59b05a2344de2d377bf30004d50a73dd4cf
org-element: Remove `org-element-document-properties'

* lisp/org-element.el (org-element-document-properties): Remove
  variable.
(org-element-context): Ignore ex-"document keywords".

* testing/lisp/test-org-element.el (test-org-element/context): Remove
  no longer applicable tests.

Parsed keywords are no longer hard-coded and can be set per export
back-end.

As a consequence, `org-element-context' no longer returns objects in
"TITLE", "DATE" or "AUTHOR" keywords.  This makes sense as these
objects would only make sense during export, and only if the chosen
back-end actually uses them.
lisp/org-element.el
testing/lisp/test-org-element.el