diff options
author | David Maus <dmaus@ictsoc.de> | 2010-09-20 10:52:49 +0200 |
---|---|---|
committer | David Maus <dmaus@ictsoc.de> | 2010-09-20 10:52:49 +0200 |
commit | d6b730ea9713015a5528b8e95c8477110a0de95f (patch) | |
tree | 50c6ff40a231741761de06840b2402d9e58ebc87 | |
parent | b63f5333e7bbab900b134584d07e158aeba14844 (diff) | |
download | org-mode-d6b730ea9713015a5528b8e95c8477110a0de95f.tar.gz |
Add 'message:' link type to default link types
* org.el (org-link-types): Add 'message:' link type to default link
types.
Jules Bean wrote:
>The link-type "message" is one of the ones org handles by default, it
>is an explicit case in org-open-at-point, much like http and it is
>handled by the following code:
>((member type '("message"))
> (browse-url (concat type ":" path)))
>However it is not included in the default value of org-link-types:
>(defvar org-link-types '("http" "https" "ftp" "mailto" "file" "news"
> "shell" "elisp" "doi"))
>...and therefore it doesn't work when clicked/followed.
>Manually adding it to org-link-types makes it work correctly. For me,
>anyway.
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index 1099ab4..0e933e2 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -4755,7 +4755,7 @@ The following commands are available: (defconst org-non-link-chars "]\t\n\r<>") (defvar org-link-types '("http" "https" "ftp" "mailto" "file" "news" - "shell" "elisp" "doi")) + "shell" "elisp" "doi" "message")) (defvar org-link-types-re nil "Matches a link that has a url-like prefix like \"http:\"") (defvar org-link-re-with-space nil |