[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb bb78795 1/3: Have ebdb-dwim-mail consider mail add
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb bb78795 1/3: Have ebdb-dwim-mail consider mail addresses from role fields |
Date: |
Mon, 23 Mar 2020 13:07:32 -0400 (EDT) |
branch: externals/ebdb
commit bb787957917d4c2213ff2db298fc5d470843d807
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Have ebdb-dwim-mail consider mail addresses from role fields
* ebdb.el (ebdb-dwim-mail): Obviously I'd originally excluded role
fields on purpose, but now I can't remember why, and it seems like the
wrong choice.
---
ebdb.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ebdb.el b/ebdb.el
index 0cd2264..e4e4371 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -4439,7 +4439,7 @@ RECORD. If MAIL is nil use RECORD's primary mail
address. If
MAIL is the symbol `prompt', prompt the user for a mail address
to use."
(unless (ebdb-field-mail-p mail)
- (setq mail (ebdb-record-one-mail record (eq mail 'prompt) t t)))
+ (setq mail (ebdb-record-one-mail record (eq mail 'prompt) t)))
(unless mail (error "Record has no mail addresses"))
(let* ((name-base (or (slot-value mail 'aka) (ebdb-record-name record)))
(mail (slot-value mail 'mail))