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

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

[elpa] externals/ebdb ae377c1 199/350: Use ebdb-field-search in notes-ty


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb ae377c1 199/350: Use ebdb-field-search in notes-type record searches
Date: Mon, 14 Aug 2017 11:46:36 -0400 (EDT)

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

    Use ebdb-field-search in notes-type record searches
    
    * ebdb.el (ebdb-record-search): Everything should go through
      ebdb-field-search.
    
    Relevant to #23
---
 ebdb.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ebdb.el b/ebdb.el
index e293e29..18994c7 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -4668,7 +4668,7 @@ values, by default the search is not handed to the name 
field itself."
                                  (_type (subclass ebdb-field-notes))
                                  (regexp string))
   (if-let (notes (slot-value record 'notes))
-      (string-match-p regexp (ebdb-string notes))))
+      (ebdb-field-search notes regexp)))
 
 (cl-defmethod ebdb-record-search ((record ebdb-record-entity)
                                  (_type (subclass ebdb-field-phone))



reply via email to

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