summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Klein <roklein@roklein.de>2016-08-08 03:24:23 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-08-08 11:10:04 +0200
commitd738c6849bfd52b6773da4949042ff3460e9a7b2 (patch)
treee6fbab4a4271db9aa74c5fb86ec97bec175a476c
parent2a274f0da5339a608a22d3e7d110796d45aa2e72 (diff)
downloadorg-mode-d738c6849bfd52b6773da4949042ff3460e9a7b2.tar.gz
Update tel link definition
* contrib/lisp/org-contacts.el ("contacts"): Update to use org-link-set-parameters.
-rw-r--r--contrib/lisp/org-contacts.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/lisp/org-contacts.el b/contrib/lisp/org-contacts.el
index 309b9b9..2cadd1d 100644
--- a/contrib/lisp/org-contacts.el
+++ b/contrib/lisp/org-contacts.el
@@ -1107,8 +1107,7 @@ link string and return the pure link target."
;; 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")
-
+(org-link-set-parameters "tel")
(defun org-contacts-split-property (string &optional separators omit-nulls)
"Custom version of `split-string'.