Change no brace sub/superscript syntax
commitcad81696b8bd212b61e1760fec850761b0449221
authorNicolas Goaziou <n.goaziou@gmail.com>
Sat, 11 Jan 2014 22:51:33 +0000 (11 23:51 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sat, 11 Jan 2014 22:54:22 +0000 (11 23:54 +0100)
tree7198761d91f3a44c5cad258770ae97eaa3c2b829
parentfd5edd35ae33ef9fbd15a8e4413455ce99f96007
Change no brace sub/superscript syntax

* lisp/org.el (org-match-substring-regexp): Simplify syntax when not
using braces.  Also make the variable a defconst.
(org-match-substring-with-braces-regexp): Make the variable a defconst
and remove a useless group in regexp.
* lisp/org-element.el (org-element-subscript-parser,
  org-element-superscript-parser): Adapt to group changes.
lisp/org-element.el
lisp/org.el