# HG changeset patch # User Carsten Dominik # Date 1142948200 0 # Node ID fd0fd3b4eeb97b8ca480ee73f20d6436bce9f8e5 # Parent d21be88ab34843c6f7f3e7d86588236ec9e6fe1f (org-open-at-point): Fixed bug in wiki-style bracket links. diff -r d21be88ab348 -r fd0fd3b4eeb9 lisp/textmodes/org.el --- a/lisp/textmodes/org.el Tue Mar 21 13:36:00 2006 +0000 +++ b/lisp/textmodes/org.el Tue Mar 21 13:36:40 2006 +0000 @@ -6833,8 +6833,8 @@ (while (string-match " *\n *" link) (setq link (replace-match " " t t link))) (if (string-match org-link-regexp link) - (setq type (match-string 1) - path (match-string 2)) + (setq type (match-string 1 link) + path (match-string 2 link)) (setq type "thisfile" path link)) (throw 'match t))) @@ -6893,6 +6893,10 @@ (cond + ((member type '("http" "https" "ftp" "mailto" "news")) + ;; give these to some browser + (browse-url (concat type ":" path))) + ((string= type "tags") (org-tags-view in-emacs path)) ((or (string= type "camel")