diff options
author | Daniel Clemente <n142857@gmail.com> | 2010-10-13 03:29:25 +0000 |
---|---|---|
committer | David Maus <dmaus@ictsoc.de> | 2010-10-24 20:23:27 +0200 |
commit | c486572df067500dffb22a7178adfda42ec3d805 (patch) | |
tree | ce67c0e511efd3550320cabdb8ac3fd4206c44b1 | |
parent | 145109dc4a6f161e4ad826bea9cc970363649280 (diff) | |
download | org-mode-c486572df067500dffb22a7178adfda42ec3d805.tar.gz |
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
-rw-r--r-- | lisp/org-html.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org-html.el b/lisp/org-html.el index 116eb54..cd15ece 100644 --- a/lisp/org-html.el +++ b/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)))) |