branch: externals/ebdb
commit a2d2116a7842a1ef21913a4899b8ea93cdcf33f5
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>
Use eieio-object-p instead of vectorp
* ebdb-com.el (ebdb-record-list): Sort of unnecessary, since vectorp
works.
---
ebdb-com.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ebdb-com.el b/ebdb-com.el
index 18088af..0f78130 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -209,8 +209,8 @@ If RECORDS is a single record turn it into a list.
If FULL is non-nil, assume that RECORDS include display information."
(if records
(if full
- (if (vectorp (car records)) (list records) records)
- (if (vectorp records) (list records) records))))
+ (if (eieio-object-p (car records)) (list records) records)
+ (if (eieio-object-p records) (list records) records))))
;; Note about EBDB prefix commands: `ebdb-append-display' and
;; `ebdb-search-invert' are fake prefix commands. They need not