Fix handling of absolute filenames' conversion to HTML links.

This commit is contained in:
Bastien Guerry 2010-09-02 17:33:00 +02:00
parent bd1b57f92a
commit 330fb5409e
1 changed files with 1 additions and 1 deletions

View File

@ -720,7 +720,7 @@ MAY-INLINE-P allows inlining it as an image."
;;Substitute just if original path was absolute.
;;(Otherwise path must remain relative)
(if (file-name-absolute-p path)
(concat "/" (expand-file-name path))
(concat "file://" (expand-file-name path))
path)))
((string= type "")
(list nil path))