org-element: Fix `quote-section' detection and parsing
commitc2fd307df3d86a2a4f7e286100bd08b99a1eda20
authorNicolas Goaziou <n.goaziou@gmail.com>
Thu, 19 Jan 2012 17:09:10 +0000 (19 18:09 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Thu, 19 Jan 2012 17:09:10 +0000 (19 18:09 +0100)
treed7b3c6a19a1319b0ce2f25ff0402d5cfd5de8dd9
parent6c9c6eff05ce89ca3b9955580904ad1bd8ec2119
org-element: Fix `quote-section' detection and parsing

* contrib/lisp/org-element.el (org-element-quote-section-parser):
  Assume point is at quote-section beginning.
(org-element-guess-type): Move point to section beginning before
  calling for quote-section parser.
(org-element-parse-elements, org-element-current-element): Correctly
  detect and parse quote section.
contrib/lisp/org-element.el