Kaynağa Gözat

Update tel link definition

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

Update to use org-link-set-parameters.
Robert Klein 8 yıl önce
ebeveyn
işleme
d738c6849b
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  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'.