Make Org links compatible with URI syntax
commit3589f64e42dfbc894e789c2a9fba530eac36c665
authorNicolas Goaziou <n.goaziou@gmail.com>
Fri, 28 Mar 2014 18:24:38 +0000 (28 19:24 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Thu, 10 Apr 2014 20:57:05 +0000 (10 22:57 +0200)
treeb52e3c751b78e2b6ddcbb256512a70f5e03d0325
parent7fe1da1f8c5a8bc54806700ea135135912f8f504
Make Org links compatible with URI syntax

* lisp/org.el (org-make-link-regexps): Allow optional double slashes
  after type.  Small refactoring.

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

This patch allows to write both [[file:/file.org]] and [[file:///file.org]].
See bug#16751.
lisp/org.el
testing/lisp/test-org-element.el