Parcourir la source

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
Daniel Clemente il y a 14 ans
Parent
commit
c486572df0
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      lisp/org-html.el

+ 2 - 1
lisp/org-html.el

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