mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-22 15:18:37 +00:00
Fix handling of absolute filenames' conversion to HTML links.
This commit is contained in:
parent
bd1b57f92a
commit
330fb5409e
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue