summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Abrahamsen <eric@ericabrahamsen.net>2024-02-05 07:09:27 -0800
committerEric Abrahamsen <eric@ericabrahamsen.net>2024-03-04 08:04:19 -0800
commitb9dea6e063b22ab28d58eca4101b4239db7fe0d6 (patch)
tree5fee4451d869b80386c07f547bc0aa4d402c76bd
parent058f30a996eb9074feac8f94db4eb49e85ae08f1 (diff)
Fix wrong function usage in ebdb-hash-p
* ebdb.el (ebdb-hash-p): ebdb-record-organizations returns a full list of organizations; ebdb-record-organization is an object constructor.
-rw-r--r--ebdb.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/ebdb.el b/ebdb.el
index 4ebf7eb..f4729aa 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -5404,7 +5404,7 @@ PREDICATE may take the same values as the elements of `ebdb-completion-list'."
(if (seq-intersection '(organization ebdb-field-role) predicate)
(mapc (lambda (organization) (if (ebdb-string= key organization)
(throw 'ebdb-hash-ok 'organization)))
- (ebdb-record-organization record)))
+ (ebdb-record-organizations record)))
(if (memq 'alt-names predicate)
(mapc (lambda (name) (if (ebdb-string= key (ebdb-string name))
(throw 'ebdb-hash-ok 'alt-names)))