org-element: Use strict comment syntax (no "#+" allowed)
commitb1ed817e38e92bc564c14e7f4689135665ff7abd
authorNicolas Goaziou <n.goaziou@gmail.com>
Fri, 17 Aug 2012 13:22:36 +0000 (17 15:22 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Fri, 17 Aug 2012 14:58:26 +0000 (17 16:58 +0200)
tree353df7a5b54abc4419ee699234953464fed729f5
parent952d722dcddb275d84ad6dd356bee2fd5c8027c8
org-element: Use strict comment syntax (no "#+" allowed)

* lisp/org.el (org-fill-paragraph): No need to use
  `org-element-paragraph-separate' in a verse block since blank lines
  only can end a "paragraph".
* lisp/org-element.el (org-element-paragraph-separate): Apply changes
  to comments.
(org-element-paragraph-parser): Correctly find end of paragraphs.
(org-element--current-element): Require colons for Babel calls.
(org-element-center-block-parser, org-element-dynamic-block-parser,
org-element-quote-block-parser, org-element-special-block-parser,
org-element-comment-block-parser, org-element-example-block-parser,
org-element-export-block-parser, org-element-src-block-parser,
org-element-verse-block-parser): Fall-back to paragraph parsing when
incomplete or ill-formed.
* testing/lisp/test-org-element.el: Update tests.
lisp/org-element.el
lisp/org.el
testing/lisp/test-org-element.el