0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-17 10:06:26 +00:00

Append fragment to file: links if present

* org-html.el (org-html-make-link): Append fragment to file: links if
present.

Patch by Daniel Clemente
This commit is contained in:
Daniel Clemente 2010-10-13 03:29:25 +00:00 committed by David Maus
parent 145109dc4a
commit c486572df0

View file

@ -763,7 +763,8 @@ MAY-INLINE-P allows inlining it as an image."
((or ((or
(not type) (not type)
(string= type "http") (string= type "http")
(string= type "https")) (string= type "https")
(string= type "file"))
(if fragment (if fragment
(setq thefile (concat thefile "#" fragment)))) (setq thefile (concat thefile "#" fragment))))