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

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

[elpa] externals/ebdb c23b924374: Fix migration routine for affixes; re


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb c23b924374: Fix migration routine for affixes; release 0.8.9
Date: Tue, 25 Jan 2022 21:21:15 -0500 (EST)

branch: externals/ebdb
commit c23b924374a46bfc40d61831438a9d72f1951857
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>

    Fix migration routine for affixes; release 0.8.9
    
    * ebdb-migrate.el (ebdb-migrate-vector-to-class): BBDB affix is likely
    to be a list of strings, handle that situation.
---
 ebdb-migrate.el | 4 +++-
 ebdb.el         | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ebdb-migrate.el b/ebdb-migrate.el
index d23757f988..dea2e521e7 100644
--- a/ebdb-migrate.el
+++ b/ebdb-migrate.el
@@ -474,7 +474,9 @@ BBDB sets the default of that option."
                    ebdb-default-name-class
                    :surname l-name
                    :given-names (when f-name (split-string f-name " " nil))
-                   :affix affix)
+                   :affix (if (stringp affix)
+                              affix
+                            (mapconcat #'identity affix " ")))
                 (make-instance 'ebdb-field-name-simple
                                :name (if f-name
                                          (concat f-name " " l-name)
diff --git a/ebdb.el b/ebdb.el
index 13685c2f55..7b690042cb 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -2,7 +2,7 @@
 
 ;; Copyright (C) 2016-2021  Free Software Foundation, Inc.
 
-;; Version: 0.8.8
+;; Version: 0.8.9
 ;; Package-Requires: ((emacs "25.1") (seq "2.15"))
 
 ;; Maintainer: Eric Abrahamsen <eric@ericabrahamsen.net>



reply via email to

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