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

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

[elpa] externals/ebdb c6aef3b 3/9: Fix parsing of address countries duri


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb c6aef3b 3/9: Fix parsing of address countries during migration
Date: Wed, 18 Oct 2017 17:51:57 -0400 (EDT)

branch: externals/ebdb
commit c6aef3beed227789b2724fadbb5fb15f5de0cfc1
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>

    Fix parsing of address countries during migration
    
    * ebdb-migrate.el (ebdb-migrate-vector-to-class): What I meant to do
      was match countries to symbols via ebdb-i18n-countries. I was doing
      it wrong, but shouldn't have been doing it at all.
---
 ebdb-migrate.el | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/ebdb-migrate.el b/ebdb-migrate.el
index 988ded4..5c30636 100644
--- a/ebdb-migrate.el
+++ b/ebdb-migrate.el
@@ -501,11 +501,6 @@ BBDB sets the default of that option."
              (postcode (aref a 4))
              (country (aref a 5))
              (case-fold-search t))
-         (when (and country (stringp country))
-           (dolist (c ebdb-country-list)
-             (when (and (stringp country)
-                        (string-match-p country (car c)))
-               (setq country (cdr c)))))
          (push (make-instance ebdb-default-address-class
                               :object-name label
                               :streets streets



reply via email to

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