org.el: improve org-property-re and use it throughout
commit3c933adaf627bc8a58cfefb62ff0f2d5df640673
authorAchim Gratz <Stromeko@Stromeko.DE>
Thu, 9 May 2013 17:47:59 +0000 (9 19:47 +0200)
committerAchim Gratz <Stromeko@Stromeko.DE>
Sat, 8 Jun 2013 19:38:24 +0000 (8 21:38 +0200)
treeb79c6446eb3ac82c6edaf0310938769b2e721fb5
parentc3711b14d6a19759d7b1f4bd69d262449809e4c1
org.el: improve org-property-re and use it throughout

* lisp/org.el (org-property-re): Improve definition so that this regex
  can be used in all situations.  Extend docstring with explanation of
  matching groups.
  (org-at-property-p): Implement using `org-element-at-point'.
  (org-entry-properties, org-buffer-property-keys, org-indent-line):
  Use `org-property-re' and adjust match group numbers accordingly.

* lisp/org-element.el (org-element-node-property-parser): Use
  `org-property-re' and adjust match group numbers accordingly.  Move
  `looking-at' out of the let clause to not rely on the unspecified
  evaluation order inside the let.
lisp/org-element.el
lisp/org.el