diff options
author | Simon Thum <simon.thum@gmx.de> | 2016-02-13 17:20:05 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-02-25 10:14:25 +0100 |
commit | aa78158036231a07a132b73bd799a4ecb3b56154 (patch) | |
tree | a0873ce9c15379ed5cb2a332b3ab43dad08c99bf | |
parent | e278cffa3b4f451f22e8b98d1c40f6e33e6e98ed (diff) | |
download | org-mode-aa78158036231a07a132b73bd799a4ecb3b56154.tar.gz |
org-contacts: Register "tel" link
This has the added benefit of not screwing up the exporter.
Signed-off-by: Simon Thum <simon.thum@gmx.de>
-rw-r--r-- | contrib/lisp/org-contacts.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/lisp/org-contacts.el b/contrib/lisp/org-contacts.el index 3236a7c..1aa2cab 100644 --- a/contrib/lisp/org-contacts.el +++ b/contrib/lisp/org-contacts.el @@ -1113,6 +1113,11 @@ link string and return the pure link target." (setq colonpos (string-match ":" link)) (if startpos (substring link (1+ colonpos)) link))))) +;; Add the link type supported by org-contacts-strip-link +;; so everything is in order for its use in Org files +(org-add-link-type "tel") + + (defun org-contacts-split-property (string &optional separators omit-nulls) "Custom version of `split-string'. Split a property STRING into sub-strings bounded by matches |