[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb 880be9f 14/17: Fix to dumb mistakes in 8fc7b6d69,
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb 880be9f 14/17: Fix to dumb mistakes in 8fc7b6d69, fast lookups |
Date: |
Tue, 26 Sep 2017 17:15:35 -0400 (EDT) |
branch: externals/ebdb
commit 880be9f689119418306b874960ef9e49b8e51de3
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Fix to dumb mistakes in 8fc7b6d69, fast lookups
* ebdb.el (ebdb-search): This is what the tests are for...
---
ebdb.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/ebdb.el b/ebdb.el
index c3cda4a..063d801 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -5157,7 +5157,8 @@ string must be a prefix of the sought string."
(let ((case-fold-search ebdb-case-fold-search)
new-clauses completed-strings recs)
;; Fast lookups won't work with INVERT.
- (unless invert
+ (if invert
+ (setq new-clauses clauses)
;; Try the fast lookups.
(pcase-dolist (`(,key ,crit) clauses)
(or
@@ -5203,7 +5204,7 @@ string must be a prefix of the sought string."
(eql (null invert)
(catch 'found
(condition-case nil
- (dolist (c clauses)
+ (dolist (c new-clauses)
(pcase c
(`(,type ,criteria)
(and (ebdb-record-search r type criteria)
- [elpa] externals/ebdb updated (c298037 -> 91d73f8), Eric Abrahamsen, 2017/09/26
- [elpa] externals/ebdb 1abf847 02/17: Fix slot customize declaration for bank account field, Eric Abrahamsen, 2017/09/26
- [elpa] externals/ebdb 2a17bb6 03/17: Set up EBDB buffers to offer save on save-some-buffers, Eric Abrahamsen, 2017/09/26
- [elpa] externals/ebdb 26d632b 05/17: Finish ebdb-internationalize-addresses, Eric Abrahamsen, 2017/09/26
- [elpa] externals/ebdb 3f1eb0d 04/17: New defsubst ebdb-i18n-countries, Eric Abrahamsen, 2017/09/26
- [elpa] externals/ebdb f143265 07/17: Quietly swap order of arguments to ebdb-read-i18n for addresses, Eric Abrahamsen, 2017/09/26
- [elpa] externals/ebdb 880be9f 14/17: Fix to dumb mistakes in 8fc7b6d69, fast lookups,
Eric Abrahamsen <=
- [elpa] externals/ebdb b371784 15/17: Change ebdb-vcard to use generic ebdb-field-tags, Eric Abrahamsen, 2017/09/26
- [elpa] externals/ebdb c5aac30 01/17: Change name of automatic save option, Eric Abrahamsen, 2017/09/26
- [elpa] externals/ebdb fb7e4d2 11/17: Add formatting for Russian phone numbers, Eric Abrahamsen, 2017/09/26
- [elpa] externals/ebdb e947f59 06/17: Drop postcode guards, Eric Abrahamsen, 2017/09/26
- [elpa] externals/ebdb e78dd19 10/17: Provide an ebdb-parse method for addresses, Eric Abrahamsen, 2017/09/26
- [elpa] externals/ebdb 7e7d6cd 09/17: Start collecting random internationalized methods, Eric Abrahamsen, 2017/09/26
- [elpa] externals/ebdb e326805 08/17: Simplify address formatting, Eric Abrahamsen, 2017/09/26
- [elpa] externals/ebdb 4f8e2a0 16/17: Use ebdb-i18n-countries defsubst in i18n address reading, Eric Abrahamsen, 2017/09/26
- [elpa] externals/ebdb 91d73f8 17/17: Bump version to 0.3.3, Eric Abrahamsen, 2017/09/26
- [elpa] externals/ebdb 7c16983 12/17: Fix all when-let and if-let to use starred versions, Eric Abrahamsen, 2017/09/26