0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-16 02:16:27 +00:00

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

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))