org-element: Fix parsing radio links
commita300f362a031e4f06eaba7e17ab282491b625eea
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 26 Oct 2016 22:41:19 +0000 (27 00:41 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 26 Oct 2016 22:41:19 +0000 (27 00:41 +0200)
tree122249a0e159a8619d421f98f41dc2bfa10a1036
parent0204b0e16f834ca54ade988257725f31eaaedbce
org-element: Fix parsing radio links

* lisp/org-element.el (org-element--object-lex): Do not re-match past
  1-character long radio links.
* testing/lisp/test-org-element.el (test-org-element/link-parser): Add
  test.

Reported-by: Daniel Clemente <n142857@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/109861>
lisp/org-element.el
testing/lisp/test-org-element.el