emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/textmodes/org.el


From: Carsten Dominik
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/org.el
Date: Tue, 21 Mar 2006 13:36:41 +0000

Index: emacs/lisp/textmodes/org.el
diff -u emacs/lisp/textmodes/org.el:1.73 emacs/lisp/textmodes/org.el:1.74
--- emacs/lisp/textmodes/org.el:1.73    Fri Mar 17 13:05:30 2006
+++ emacs/lisp/textmodes/org.el Tue Mar 21 13:36:40 2006
@@ -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")




reply via email to

[Prev in Thread] Current Thread [Next in Thread]