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>
This commit is contained in:
parent
60339bd55f
commit
f02da8b4de
1 changed files with 5 additions and 0 deletions
|
@ -1113,6 +1113,11 @@ link string and return the pure link target."
|
||||||
(setq colonpos (string-match ":" link))
|
(setq colonpos (string-match ":" link))
|
||||||
(if startpos (substring link (1+ colonpos)) 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)
|
(defun org-contacts-split-property (string &optional separators omit-nulls)
|
||||||
"Custom version of `split-string'.
|
"Custom version of `split-string'.
|
||||||
Split a property STRING into sub-strings bounded by matches
|
Split a property STRING into sub-strings bounded by matches
|
||||||
|
|
Loading…
Reference in a new issue