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

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

[elpa] externals/ebdb b610b96 138/350: ebdb-record-search can accept sym


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb b610b96 138/350: ebdb-record-search can accept symbols for search type
Date: Mon, 14 Aug 2017 11:46:22 -0400 (EDT)

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

    ebdb-record-search can accept symbols for search type
    
    * ebdb.el (ebdb-search): Don't use pcase to filter based on type.
      Essentially we're using generic methods to filter on type.
---
 ebdb.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ebdb.el b/ebdb.el
index 62a53b1..b6b01f0 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -4572,7 +4572,7 @@ interpreted as t, ie the record passes."
              (condition-case nil
               (dolist (c clauses)
                 (pcase c
-                  (`(,(and type (pred class-p)) ,criteria)
+                  (`(,type ,criteria)
                    (and (ebdb-record-search r type criteria)
                         (throw 'found t)))
                   (`,(and func (pred functionp))



reply via email to

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