No alphanumeric characters around radio links
commit7c82e6ac19a3739abf096511fe2d154fcb0cef3b
authorNicolas Goaziou <n.goaziou@gmail.com>
Thu, 10 Apr 2014 20:23:27 +0000 (10 22:23 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Fri, 11 Apr 2014 19:30:15 +0000 (11 21:30 +0200)
treec5647f55ef92ebda91d3fde739125e3db2de7148
parente8112c86ecd5c39bcda641aa2daa7ad3909edd7a
No alphanumeric characters around radio links

* lisp/org.el (org-make-target-link-regexp): Change regexp so
  alphanumeric characters cannot be found next to a radio link.
(org-activate-target-links): Apply changes to radio link regexp.

* lisp/org-element.el (org-element--object-lex,
  org-element-link-parser): Apply changes to radio link regexp.

* testing/lisp/test-org-element.el (test-org-element/link-parser):
  Update test.

Patch suggested by Daniel Clemente.
http://permalink.gmane.org/gmane.emacs.orgmode/84461
lisp/org-element.el
lisp/org.el
testing/lisp/test-org-element.el