Explorar o código

Update tel link definition

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

Update to use org-link-set-parameters.
Robert Klein %!s(int64=8) %!d(string=hai) anos
pai
achega
d738c6849b
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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'.