Fix file:// uri handling for windows-nt and cygwin
commitb5a67ebddd0afe24126fedcd10017d92502c6f10
authorFabrice Popineau <fabrice.popineau@gmail.com>
Thu, 16 Feb 2017 21:42:59 +0000 (16 22:42 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 17 Feb 2017 07:36:00 +0000 (17 08:36 +0100)
tree2ec055050fbac74e49dbea8002c1b2d74bb53e4c
parentb897ab72230b165c72556447ad042a2e41973602
Fix file:// uri handling for windows-nt and cygwin

* lisp/org-element.el (org-element-link-parser):
  Handle drive names in uri like file:///c:/dir/file

* lisp/ox.el (org-export-file-uri):
  Handle drive names in uri like file:///c:/dir/file

* testing/lisp/test-ox.el (test-org-export/file-uri):
  Generate the right uri to be tested against link exporter.
lisp/org-element.el
lisp/ox.el
testing/lisp/test-ox.el