From b9dea6e063b22ab28d58eca4101b4239db7fe0d6 Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen Date: Mon, 5 Feb 2024 07:09:27 -0800 Subject: 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. --- ebdb.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- cgit v1.0