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

    Further fix to ebdb-prompt-for-record, bump to 0.8.8
    
    * ebdb.el (ebdb-prompt-for-record): There's some cleaning up that
    needs to be done with ebdb-string vs ebdb-record-alt-names. The
    previous code relied only on ebdb-record-alt-names, which is nil for
    organizations. But why is it duplicated with ebdb-string for person
    records?
---
 ebdb.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/ebdb.el b/ebdb.el
index 6841e39..2278156 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -2,7 +2,7 @@
 
 ;; Copyright (C) 2016-2021  Free Software Foundation, Inc.
 
-;; Version: 0.8.7
+;; Version: 0.8.8
 ;; Package-Requires: ((emacs "25.1") (seq "2.15"))
 
 ;; Maintainer: Eric Abrahamsen <e...@ericabrahamsen.net>
@@ -4565,7 +4565,10 @@ the prompt."
             (mapcar
              (lambda (s)
                (cons s (ebdb-record-uuid r)))
-             (ebdb-record-alt-names r)))
+             (delete-dups
+              (cons
+               (ebdb-string r)
+               (ebdb-record-alt-names r)))))
           (if class
               (seq-filter
                (lambda (r)

Reply via email to