diff options
| author | Eric Abrahamsen <eric@ericabrahamsen.net> | 2024-02-05 07:09:27 -0800 |
|---|---|---|
| committer | Eric Abrahamsen <eric@ericabrahamsen.net> | 2024-03-04 08:04:19 -0800 |
| commit | b9dea6e063b22ab28d58eca4101b4239db7fe0d6 (patch) | |
| tree | 5fee4451d869b80386c07f547bc0aa4d402c76bd | |
| parent | 058f30a996eb9074feac8f94db4eb49e85ae08f1 (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.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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))) |
