emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ebdb a2d2116 058/350: Use eieio-object-p instead of vec


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb a2d2116 058/350: Use eieio-object-p instead of vectorp
Date: Mon, 14 Aug 2017 11:46:03 -0400 (EDT)

branch: externals/ebdb
commit a2d2116a7842a1ef21913a4899b8ea93cdcf33f5
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]