[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb c38931f 2/8: Improve ebdb-prompt-for-record string
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb c38931f 2/8: Improve ebdb-prompt-for-record string selection |
Date: |
Mon, 25 Oct 2021 19:16:34 -0400 (EDT) |
branch: externals/ebdb
commit c38931f2c99e2e5314b05e93011fa0289e598fef
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Improve ebdb-prompt-for-record string selection
* ebdb.el (ebdb-prompt-for-record): Draw all available names from
`ebdb-record-alt-names', not just `ebdb-string'.
---
ebdb.el | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/ebdb.el b/ebdb.el
index 74916f5..92739fb 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -4557,13 +4557,12 @@ that class, or its subclasses. If PROMPT is given, use
that as
the prompt."
(let* ((recs (or records (ebdb-records)))
(pairs
- (mapcar
+ (mapcan
(lambda (r)
- ;; This is bad, doesn't take into account all the
- ;; different strings that might be used to find a record.
- (cons
- (ebdb-string r)
- (ebdb-record-uuid r)))
+ (mapcar
+ (lambda (s)
+ (cons s (ebdb-record-uuid r)))
+ (ebdb-record-alt-names r)))
(if class
(seq-filter
(lambda (r)
- [elpa] externals/ebdb updated (13a9a9d -> ba0bb42), Eric Abrahamsen, 2021/10/25
- [elpa] externals/ebdb 65bccc9 1/8: make ebdb find mu4e 1.6.x buffer (#97), Eric Abrahamsen, 2021/10/25
- [elpa] externals/ebdb 7aed64a 3/8: Remove another sneaky trailing colon on ebdb-read, Eric Abrahamsen, 2021/10/25
- [elpa] externals/ebdb c67dc08 5/8: Fix editing of internationalized US addresses, Eric Abrahamsen, 2021/10/25
- [elpa] externals/ebdb ba0bb42 8/8: Further fix to ebdb-prompt-for-record, bump to 0.8.8, Eric Abrahamsen, 2021/10/25
- [elpa] externals/ebdb 684452c 6/8: Interpret an empty street list as a desire to quit address reading, Eric Abrahamsen, 2021/10/25
- [elpa] externals/ebdb c38931f 2/8: Improve ebdb-prompt-for-record string selection,
Eric Abrahamsen <=
- [elpa] externals/ebdb 9e5eccb 7/8: Start making use of ebdb-read-string-override, bump to 0.8.7, Eric Abrahamsen, 2021/10/25
- [elpa] externals/ebdb 68292f6 4/8: Fix dumb mistake in record migration, Eric Abrahamsen, 2021/10/25