org-element: Fix ill-defined "file" type links
commitb49cbf13389cc64154023b91433d9c886a537160
authorNicolas Goaziou <n.goaziou@gmail.com>
Thu, 17 Apr 2014 06:44:37 +0000 (17 08:44 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Thu, 17 Apr 2014 09:30:15 +0000 (17 11:30 +0200)
treee7a56022eefadb500d41eb3f33143dc7063a4da4
parent018a80541a96eee764fe929a11a3e8590df4500f
org-element: Fix ill-defined "file" type links

* lisp/org-element.el (org-element-link-parser): Fix ill-defined
  "file" type links.  Expand absolute file names in the process.

Org accepts invalid URI syntax for absolute "file" links, e.g.,
file:/home/user/file.txt.  This patch normalizes them.
lisp/org-element.el