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

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

[elpa] scratch/org-contacts-rebased a452869 067/118: un-hexify TEL links


From: Stefan Monnier
Subject: [elpa] scratch/org-contacts-rebased a452869 067/118: un-hexify TEL links in vCard export
Date: Fri, 12 Nov 2021 15:37:05 -0500 (EST)

branch: scratch/org-contacts-rebased
commit a45286912b33abfa60b38ba1a981bdd98d1c7ebf
Author: Simon Thum <simon.thum@gmx.de>
Commit: Bastien Guerry <bzg@altern.org>

    un-hexify TEL links in vCard export
    
    This is required as a plus sign (e.g. +49 for germany) will cause
    hexification in the link helper.
    
    contrib/lisp/org-contacts.el: unhexify tel link
    
    TINYCHANGE
---
 org-contacts.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-contacts.el b/org-contacts.el
index 97171d0..dbbc057 100644
--- a/org-contacts.el
+++ b/org-contacts.el
@@ -946,7 +946,7 @@ to do our best."
                        (setq phones-list 
(org-contacts-remove-ignored-property-values ignore-list 
(org-contacts-split-property tel)))
                        (setq result "")
                        (while phones-list
-                         (setq result (concat result  "TEL:" 
(org-contacts-strip-link (car phones-list)) "\n"))
+                         (setq result (concat result  "TEL:" 
(org-link-unescape (org-contacts-strip-link (car phones-list))) "\n"))
                          (setq phones-list (cdr phones-list)))
                        result))
            (when bday



reply via email to

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