Browse Source

Update tel link definition

* contrib/lisp/org-contacts.el ("contacts"):

Update to use org-link-set-parameters.
Robert Klein 2 years ago
parent
commit
d738c6849b
1 changed files with 1 additions and 2 deletions
  1. 1 2
      contrib/lisp/org-contacts.el

+ 1 - 2
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'.