On Wed, Sep 8, 2010 at 2:12 AM, Daniel Clemente <n142...@gmail.com> wrote: > > Commit bd1b57f92a33485c90db1efc407c8b7c7450993a (Thu Sep 2 11:35:43 2010 > +0000) did something like this in org-html.el: > > ((str (org-export-html-format-href thefile))) > - (if (and type (not (string= "file" type)) > - (org-string-match-p "^//" str)) > + (if (and type (not (string= "file" type))) > (concat type ":" str) > > > This broke the exporting of [[file:a.org]] links, which now appear as > [[http:a.html]]. Try C-c C-e H on any .org with such links, even in emacs -Q. > > The problem is, I think, that „type“ is actually "http", not "file" as the > code tries.
I think the problem is here. org-html.el: Fix exporting link to .org files. * lisp/org-html.el (org-html-cvt-org-as-html): Do not convert protocol from 'file' to 'http' Thanks and Regards Noorul
diff --git a/lisp/org-html.el b/lisp/org-html.el index 5da2a5f..1a96fa1 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -674,7 +674,7 @@ See variable `org-export-html-link-org-files-as-html'" (string-match "\\.org$" path) (progn (list - "http" + "file" (concat (substring path 0 (match-beginning 0)) "."
_______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode