emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org-contacts f02da8b4de 088/154: org-contacts: Register


From: ELPA Syncer
Subject: [elpa] externals/org-contacts f02da8b4de 088/154: org-contacts: Register "tel" link
Date: Fri, 9 Sep 2022 15:58:38 -0400 (EDT)

branch: externals/org-contacts
commit f02da8b4deda170a5f9dd64ca740a585ec34c5a1
Author: Simon Thum <simon.thum@gmx.de>
Commit: Nicolas Goaziou <mail@nicolasgoaziou.fr>

    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>
---
 org-contacts.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/org-contacts.el b/org-contacts.el
index 3236a7cf72..1aa2cab8c3 100644
--- a/org-contacts.el
+++ b/org-contacts.el
@@ -1113,6 +1113,11 @@ link string and return the pure link target."
             (setq colonpos (string-match ":" 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)
   "Custom version of `split-string'.
 Split a property STRING into sub-strings bounded by matches



reply via email to

[Prev in Thread] Current Thread [Next in Thread]