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

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

[elpa] externals/ebdb 1096c6e 230/350: Search read transform functions n


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb 1096c6e 230/350: Search read transform functions needs to work for all methods
Date: Mon, 14 Aug 2017 11:46:43 -0400 (EDT)

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

    Search read transform functions needs to work for all methods
    
    Addresses #39
    
    * ebdb.el (ebdb-search-read): This :around method was previously only
      firing for method calls that involved subclasses of ebdb-field. I
      forgot there are several other types of call, the transformation
      needs to work for all of them.
---
 ebdb.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ebdb.el b/ebdb.el
index c1ee74a..108f6ab 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -4966,7 +4966,7 @@ values, by default the search is not handed to the name 
field itself."
 In most cases this is a simple regexp, but field classes can
 prompt users for more complex search criteria, if necessary.")
 
-(cl-defmethod ebdb-search-read :around ((cls (subclass ebdb-field)))
+(cl-defmethod ebdb-search-read :around (_key)
   "Give the functions in `ebdb-search-transform-functions' a
 chance to transform the search string."
   (let ((criterion (cl-call-next-method)))



reply via email to

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